Archive | Documentation RSS feed for this section

get_blog_option

Retrieve option value based on setting name and blog_id.If the option does not exist or does not have a value, then the return value will be false. This is useful to check whether you need to install an option and is commonly used during installation of plugin options and to test whether upgrading is required.

1214

Continue reading

get_blog_id_from_url

Get a blog’s numeric ID from its URL.On a subdirectory installation like example.com/blog1/, $domain will be the root ‘example.com’ and $path the subdirectory ‘/blog1/’. With subdomains like blog1.example.com, $domain is ‘blog1.example.com’ and $path is ‘/’.

1210

Continue reading

get_blog_count

The number of active sites on your installation.The count is cached and updated twice daily. This is not a live count.

1206

Continue reading