It only works when the signup process is handled – e.g. new user registered. However, when upgrading user from level 0 to level x, none of these hooks are fired:
add_action('ws_plugin__s2member_during_configure_user_registration_front_side', array($this, 'call_register'));
add_action('ws_plugin__s2member_during_configure_user_registration_admin_side', array($this, 'call_register'));
add_action('ws_plugin__s2member_after_handle_profile_modifications', array($this, 'call_register'));
add_action('ws_plugin__s2member_during_users_list_update_cols', array($this, 'call_register'));
edit1:
also, this is my shortcode for updating the level
[s2Member-Pro-PayPal-Form level="1" ccaps="" desc="$100 USD / One Time ( for lifetime access, non-recurring, no trial )" ps="paypal" lc="" cc="USD" dg="0" ns="1" ta="0" tp="0" tt="D" ra="100" rp="1" rt="L" rr="BN" rrt="" rra="2" accept="paypal,visa,mastercard,amex,discover,maestro,solo" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]
edit2:
I changed my shortcode to other one, that its used for actual account upgrading (i made mistake for using the above one), but still none of the mentioned hooks above do not fire.
[s2Member-Pro-PayPal-Form modify="1" level="3" ccaps="" desc="$200 USD / One Time ( for lifetime access, non-recurring, no trial )" ps="paypal" lc="" cc="USD" dg="0" ns="1" ta="0" tp="0" tt="D" ra="200" rp="1" rt="L" rr="BN" rrt="" rra="2" accept="paypal,visa,mastercard,amex,discover,maestro,solo" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]
-
This reply was modified 4 years, 2 months ago by
Kevin Smith.
-
This reply was modified 4 years, 2 months ago by
Kevin Smith.
-
This reply was modified 4 years, 2 months ago by
Kevin Smith.