- This topic has 3 replies, 2 voices, and was last updated 5 years, 7 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › swpm_after_login hook not firing
Tagged: login, redirection
The “swpm_after_login” action does not fire when “Simple Membership After Login Redirection” plugin is activated (note: the redirection feature was not active – checkbox in its settings unchecked, but the plugin itself was activated)
Everything runs up to the call to do_action(‘swpm_after_login’) in class.simple-wp-membership.php, but not the functions hooked onto that action, or anything in the login function afterwards.
After deactivating the Redirection plugin it seems to run the action properly, and the following lines of code in the function.
Hi, please carry out the following troubleshooting test.
Let me know how you go.
Thank you
that was how I narrowed it down to the “Simple Membership After Login Redirection” plugin having the effect.
Activate – no swpm_after_login.
Deactivate – swpm_after_login works _and_ lines of code immediately after the do_action call in the main swpm plugin.
Hi, I carried out a test in my dev site and it works for me. Please check the following documentation wordpress-simple-membership-after-login-redirect-add-on. Let me know how you go.
Thank you