WordPress filter hook · part of WordPress core
wp_signup_location
A WordPress core filter that 12 plugins also fire themselves, running on 272K+ sites between them.
“Filters the Multisite sign up URL.”
How to use wp_signup_location
It's a filter: your callback receives the value, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'wp_signup_location', function( $site_url ) {
// Change $site_url here.
return $site_url;
}, 10, 1 );Argument names come from LoginPress's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
This hook is fired by WordPress core too. Official reference on developer.wordpress.org →
12 plugins that fire wp_signup_location
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
LoginPress200,000+ installs
apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) )include/template-loginpress.php:608 -
Theme My Login50,000+ installs
apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) )includes/actions.php:648 -
AJAX Auth10,000+ installs
apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) )login-with-ajax.php:413 -
s2Member8,000+ installs
apply_filters( 'wp_signup_location', site_url('/wp-signup.php') )src/includes/classes/utils-urls.inc.php:41 -
Loginfy2,000+ installs
apply_filters( 'wp_signup_location', network_site_url('wp-signup.php') )Inc/Core/Inc/loginfy-login-template.php:1131 -
School Management System1,000+ installs
apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) )wpsp-school-login.php:601 -
Login Page Customizer1,000+ installs
apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) )login-page-customizer/customize/template-lpc-custom-login-page.php:489 -
Skt NURCaptcha100+ installs
apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) )skt-nurcaptcha.php:347 -
DM Confirm Email100+ installs
apply_filters( 'wp_signup_location', network_site_url('wp-signup.php') )models/login-register.php:35 -
WP Front End Login10+ installs
apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) )wp-front-end-login.php:660 -
CubeAccount Frontend Login10+ installs
apply_filters( 'wp_signup_location', site_url('wp-signup.php') )cubeacct_page_account.php:179 -
Dashboard PlusFewer than 10 installs
apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) )modules/customizer/templates/dashplu-login-page.php:1085
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.