get_main_network_id

get_main_network_id

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

See hook in core

Displaying hooks found in version: wordpress-6.8

apply_filters('get_main_network_id') is found 1 times:

  • /wp-includes/functions.php line 6494
    6490
    6491
    6492
    6493
    6494
    6495
    6496
    6497
    6498
    6499
    6500
         * @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