is_main_site Wordpress function


Description:

Is main site?


Syntax:


Arguments:

(int) $blog_id optional blog id to test (default current blog)


Return Type:

(bool) True if not multisite or $blog_id is main site


Define At:

wp-includes/functions.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/is_main_site


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×