Created
July 3, 2019 09:10
-
-
Save plugin-republic/481122a5aea4a0779e6f3319534d7e90 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
/** | |
* Change the URL that users are redirected to | |
*/ | |
function prefix_redirect_url( $url ) { | |
return 'http://yournewurl.com/'; | |
} | |
add_filter( 'wcmo_redirect_url', 'prefix_redirect_url' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment