• Resolved karthic24

    (@karthic24)


    Hello, I’m utilizing WP Bouncer to restrict simultaneous logins on my website alongside Paid Membership Pro. Although it effectively limits concurrent logins, I encountered an issue where it redirected to the default wp-login page. To address this, I implemented some code to redirect users to the Paid Membership Pro login page. However, a new challenge emerged – in the previous scenario, it displayed a warning message to users about simultaneous logins. After applying the redirection code, this warning message is no longer visible.

    I’ve noticed that the Paid Membership Pro login page does show an error message for incorrect passwords or usernames. The PMPro login form makes use of the core WP login form function.?I’m wondering if I can leverage this functionality to display an error message for simultaneous logins. The code I currently use for redirection is provided below. Thank you for your assistance.

    add_filter(‘wp_bouncer_redirect_url’, ‘custom_bouncer_redirect_url’); function custom_bouncer_redirect_url($default_url) { return ‘https://tnpscmaster.in/login/’; }

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘warning message in custom login page’ is closed to new replies.