Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Support request] swpm_after_login hook not firing

Simple Membership Plugin › Forums › Simple Membership Plugin › swpm_after_login hook not firing

Tagged: login, redirection

  • This topic has 3 replies, 2 voices, and was last updated 5 years, 7 months ago by mbrsolution.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 26, 2020 at 11:56 am #19954
    quick_dry
    Participant

    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.

    March 28, 2020 at 8:24 am #19963
    mbrsolution
    Moderator

    Hi, please carry out the following troubleshooting test.

    https://simple-membership-plugin.com/forums/topic/test-for-plugin-and-theme-conflict-before-posting-an-issue-or-a-bug/

    Let me know how you go.

    Thank you

    March 28, 2020 at 9:22 am #19965
    quick_dry
    Participant

    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.

    March 28, 2020 at 9:56 am #19966
    mbrsolution
    Moderator

    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

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2025 | Simple Membership Plugin | Privacy Policy