Yes, I am using the WP Discourse.
Thanks for sharing this code about how to prevent some WP users from being able to login to Discourse. Big help!
I just have 3 additional questions for whenever you are able to reply:
-
Should I add that code to my theme’s functions.php file?
-
When a member cancels, they transition in wordpress from being a “s2Member Level 1” to a “Subscriber” - should I put if ( /* Subscriber */ ) { in order to make it work?
-
If want to redirect Subscribers to a different page aside from the homepage, do I just change home_url with a the url of my billing update page? (wp_safe_redirect( myfishingcapecod.com/billing-update-page/() );
Thank you very much for the support. Huge help!