Ready to get started?Download WordPress


active $site_id when logged into admin (1 post)

  1. Rasmataz
    Posted 3 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.