phpwordpresspluginswpmu

How to check whether your work on WP or WPMU?


I use global variable $table_prefix to differ whether I work on Word Press or WPMU. I need this global variable for my plugin. But is there any better way to check whether your pluggin is working on Word Press or WPMU?


Solution

  • In WPMU a global variable named wpmu_version should be set.