get_current_blog_id()

最后更新于:2021-11-26 09:03:08

get_current_blog_id()

Retrieve the current site ID.

响应

(int) Site ID.

源文件

文件: gc-includes/load.php

function get_current_blog_id() {
	global $blog_id;
	return absint( $blog_id );
}