|Posted: Saturday Apr 27th, 2013 at 10:47 pm #48605|
I’ve been experimenting with the s2Member shortcode for generating buttons. I recognise that the shortcode returns HTML:
The encrypted value above is abbreviated.
If I include the shortcode in a PHP file, rather than on the membership signup page for example, how can I capture the value from the line:
In other words I want to capture value="—–BEGIN PKCS7—–MIIK…." and store it as a variable.
I have been looking at similar topics (eg. http://www.s2member.com/kb/using-variables-in-a-shortcode/).
- s2Member® Products