get_current_blog_id

Sponsored Link

現在のブログIDを取得します。

Sponsored Link

Retrieve the current blog id.

get_current_blog_idのテンプレートタグ使用方法

<?php get_current_blog_id() ?>

get_current_blog_idのパラメーター

なし

None.

返り値

(integer)
Blog id

注釈

グローバル使用:(integer) $blog_idはブログIDです。

Uses global: (integer) $blog_id The Blog ID.

変更ログ

Since: 3.1.0

ソースファイル

get_current_blog_id()は、/wp-includes/general-template.phpに位置しています。

get_current_blog_id() is located in /wp-includes/general-template.php.

Sponsored Link