This topic contains 0 replies, has 1 voice. Last updated by Ben Chapman 3 years, 8 months ago.
Topic Author | Topic |
---|---|
Posted: Saturday Apr 27th, 2013 at 10:47 pm #48605 | |
Hello, 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/). Thank you! |