I'm using Wordpress multisite on a SAAS project and I want to create a plugin which deals with my custom post types. I want them to be accessible on all sites except on the main site. Do I have to just check blog_id ?

Thanks !

  • 1
    Please edit your question and replace the (---) with what you are trying to check. It seems you posted the question but accidently left that bit out :)
    – kaiser
    May 5, 2014 at 14:22
  • WordPress Multisite has a conditional function that checks for that -- is_main_site().
    – Pat J
    May 8, 2014 at 14:43


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.