Admin Bar Site ID


Display the current site ID in the WordPress admin bar on multisite networks.

Bug Reports

Do you want to report a bug or suggest a feature for Admin Bar Site ID? Best to do so in the Admin Bar Site ID repository on GitHub.


I do not see the site ID in the admin bar?

The admin bar item is only added on multisite installs for users with the manage_options capability.

Show the site ID to users other than Administrators

A functions_file_admin_bar_site_id_capability filter exists that allows you to override the capability required to add the admin bar menu item.


// Change the admin bar site ID capability.

* Change the admin bar site ID capability.
* @param string $capability The capability required to add the site ID admin
* bar menu item.
* @return string
function prefix_admin_bar_site_id_capability( $capability ) {

 * This example changes the capablity to 'edit_posts'. For an overview
 * of default capabilities, visit the Roles and Capabilities support
 * article:
return 'edit_posts';



There are no reviews for this plugin.


“Admin Bar Site ID” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。


將 Admin Bar Site ID 外掛本地化為台灣繁體中文版。


任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄