-
-
Save joshfeck/b8293f62329e34d4cde0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter("ws_plugin__s2member_login_redirect", "my_custom_login_redirect", 10, 2); | |
function my_custom_login_redirect($redirect, $vars = array()) | |
{ | |
// If you do NOT want s2Member to perform the redirect, return false. | |
return false; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment