WordPress.org

Support

Support » Multisite » active $site_id when logged into admin

active $site_id when logged into admin

  • Trying to adjust a plugin to only add administrative actions depending on the site dashboard being used but $site_id and $blog_id is always 1 regardless of which site is selected. Is there a variable or sure fire way to get the blog/site ID of the current side being administered?

  • The topic ‘active $site_id when logged into admin’ is closed to new replies.
Skip to toolbar