Page 1 of 1

Setting Shortcode Attributes Dynamically

PostPosted: September 2nd, 2011, 12:05 pm
by bware
Hi,

I am working with the latest edition of s2member pro with PayPal Pro integration, and I would like to have certain attributes of the s2member_pro_paypal_form shortcode i.e.

[s2member_pro_paypal_form <<attr...>>]

Particularly, I need to pass PHP $_POST['-#-'] variables into some of the attributes. I have attempted to use the Custom Capabilities framework, but haven't been successful at all. I have also tried to find the scrip where the shortcode attributes and defined and set, but I cannot find that, either.

Ultimately what I need is to adjust the shortcode such that I can pass my $_POST varialble values to them before they are parsed.

What is the best and easiest way to do that? And I really need help fast, if at all possible...

Thanks!!!

Re: Setting Shortcode Attributes Dynamically

PostPosted: September 2nd, 2011, 9:36 pm
by Cristián Lávaque
This thread may help you with that: viewtopic.php?f=36&t=1604 :)