ms_network_not_found

ms_network_not_found

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('ms_network_not_found') is found 2 times:

  • /wp-includes/ms-load.php line 359
    			 *
    			 * @param string $domain       The domain used to search for a network.
    			 * @param string $path         The path used to search for a path.
    			 */
    			do_action( 'ms_network_not_found', $domain, $path );
    
    			return false;
    		} elseif ( $path === $current_site->path ) {
    			$current_blog = get_site_by_path( $domain, $path );
    		} else {
    			// Search the network path + one more path segment (on top of the network path).
    
  • /wp-includes/ms-load.php line 387
     
    	// No network has been found, bail.
    	if ( empty( $current_site ) ) {
    		/** This action is documented in wp-includes/ms-settings.php */
    		do_action( 'ms_network_not_found', $domain, $path );
    
    		return false;
    	}
    
    	// During activation of a new subdomain, the requested site does not yet exist.
    	if ( empty( $current_blog ) && wp_installing() ) {