PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Setting Shortcode Attributes Dynamically

s2Member Plugin. A Membership plugin for WordPress®.

Setting Shortcode Attributes Dynamically

Postby bware » September 2nd, 2011, 12:05 pm

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!!!
User avatar
bware
Registered User
Registered User
 
Posts: 3
Joined: September 1, 2011

Re: Setting Shortcode Attributes Dynamically

Postby Cristián Lávaque » September 2nd, 2011, 9:36 pm

This thread may help you with that: viewtopic.php?f=36&t=1604 :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 1 guest

cron