Last active
December 18, 2020 09:41
-
-
Save flegfleg/f25a8d41ef4aad23a6a05ec9fe7111b1 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 | |
/** | |
* Plugin Name: Change registration url | |
* Description: You need to edit the plugin file in an editor for it to work! | |
* Author: Florian Egermann | |
* Author URI: https://www.fleg.de/ | |
*/ | |
add_filter( 'register_url', 'custom_register_url' ); | |
function custom_register_url( $register_url ) | |
{ | |
$register_url = "https://my-domain.dev/register"; // replace with your registration page url | |
return $register_url; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment