Skip to content

Instantly share code, notes, and snippets.

@flegfleg
Last active December 18, 2020 09:41
Show Gist options
  • Save flegfleg/f25a8d41ef4aad23a6a05ec9fe7111b1 to your computer and use it in GitHub Desktop.
Save flegfleg/f25a8d41ef4aad23a6a05ec9fe7111b1 to your computer and use it in GitHub Desktop.
<?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