Last active
March 4, 2021 09:22
-
-
Save codezz/8ce3909871115195f0fba014be7ab35d to your computer and use it in GitHub Desktop.
Change BP Restrict PMPRO redirect URL
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( 'bp_restrict_pmpro_url_redirect', 'bpr_change_bp_restrict_url' ); | |
function bpr_change_bp_restrict_url( $url ) { | |
return 'https://mysite.com/login'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment