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:

functions.php
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.

  1. LoginPress icon LoginPress200,000+ installs apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) ) include/template-loginpress.php:608
  2. Theme My Login icon Theme My Login50,000+ installs apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) ) includes/actions.php:648
  3. AJAX Auth icon AJAX Auth10,000+ installs apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) ) login-with-ajax.php:413
  4. s2Member icon s2Member8,000+ installs apply_filters( 'wp_signup_location', site_url('/wp-signup.php') ) src/includes/classes/utils-urls.inc.php:41
  5. Loginfy icon Loginfy2,000+ installs apply_filters( 'wp_signup_location', network_site_url('wp-signup.php') ) Inc/Core/Inc/loginfy-login-template.php:1131
  6. School Management System icon School Management System1,000+ installs apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) ) wpsp-school-login.php:601
  7. Login Page Customizer icon 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
  8. Skt NURCaptcha icon Skt NURCaptcha100+ installs apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) ) skt-nurcaptcha.php:347
  9. DM Confirm Email icon DM Confirm Email100+ installs apply_filters( 'wp_signup_location', network_site_url('wp-signup.php') ) models/login-register.php:35
  10. WP Front End Login icon WP Front End Login10+ installs apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) ) wp-front-end-login.php:660
  11. CubeAccount Frontend Login icon CubeAccount Frontend Login10+ installs apply_filters( 'wp_signup_location', site_url('wp-signup.php') ) cubeacct_page_account.php:179
  12. Dashboard Plus icon 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.