is_shop_installed

Detect if there is a shop plugin installed.

Description

is_shop_installed(); 

Usage

  1. if ( !function_exists( 'is_shop_installed' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'yith-woocommerce-wishlist/plugin-fw/yit-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = is_shop_installed(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/plugin-fw/yit-functions.php  
  1. function is_shop_installed () { 
  2. global $woocommerce; 
  3. if ( isset( $woocommerce ) || defined ( 'JIGOSHOP_VERSION' ) ) { 
  4. return true; 
  5. } else { 
  6. return false;