ms_site_not_found

ms_site_not_found

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('ms_site_not_found') is found 1 times:

  • /wp-includes/ms-load.php line 418
    		 * @param WP_Network $current_site The network that had been determined.
    		 * @param string     $domain       The domain used to search for a site.
    		 * @param string     $path         The path used to search for a site.
    		 */
    		do_action( 'ms_site_not_found', $current_site, $domain, $path );
    
    		if ( $subdomain && ! defined( 'NOBLOGREDIRECT' ) ) {
    			// For a "subdomain" installation, redirect to the signup form specifically.
    			$destination .= 'wp-signup.php?new=' . str_replace( '.' . $current_site->domain, '', $domain );
    		} elseif ( $subdomain ) {
    			/*