get_main_network_id

get_main_network_id

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('get_main_network_id') is found 1 times:

  • /wp-includes/functions.php line 6487
    	 * @since 4.3.0
    	 *
    	 * @param int $main_network_id The ID of the main network.
    	 */
    	return (int) apply_filters( 'get_main_network_id', $main_network_id );
    }
    
    /**
     * Determines whether site meta is enabled.
     *
     * This function checks whether the 'blogmeta' database table exists. The result is saved as