WP Bouncer warning message
-
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. 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 topic ‘WP Bouncer warning message’ is closed to new replies.