get_current_blog_id

Advertisement

Summery Summery

Retrieve the current site ID.

Syntax Syntax

get_current_blog_id()

Return Return

(int) Site ID.

Source Source

File: wp-includes/load.php

 * Does not check if the user is an administrator; use current_user_can()
 * for checking roles and capabilities.
 *
 * @since 3.1.0

Advertisement

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.