is_main_blog
Deprecated functionality to determin if the current site is the main site.
Description
is_main_blog();
Usage
if ( !function_exists( 'is_main_blog' ) ) { require_once ABSPATH . WPINC . '/ms-deprecated.php'; } // NOTICE! Understand what this does before running. $result = is_main_blog();
Defined (1)
The function is defined in the following location(s).
- /wp-includes/ms-deprecated.php
- function is_main_blog() {
- _deprecated_function( __FUNCTION__, '3.0.0', 'is_main_site()' );
- return is_main_site();
- }