Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mindshare Labs, Inc.

    (@mindshare)

    Go to the plugins page in the WP admin. If it says the plugin is active, it is active.

    It doesn’t do anything by itself. You have to use in your PHP code.

    Thread Starter psd2css

    (@psd2css)

    Plugin Author Mindshare Labs, Inc.

    (@mindshare)

    Any of the plugin’s functions will throw an error if the plugin is not active. So this is one implementation:

    function is_browser_detection_on() {
      if(function_exists('php_browser_info')) {
        return TRUE;
      } else {
        return FALSE;
      }
    }
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Detect if plugin is on’ is closed to new replies.