yith_wishlist_install

The YITH WooCommerce Wishlist yith wishlist install function.

Description

yith_wishlist_install(); 

Usage

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

Defined (1)

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

/init.php  
  1. function yith_wishlist_install() { 
  2.  
  3. if ( ! function_exists( 'is_plugin_active' ) ) { 
  4. require_once( ABSPATH . 'wp-admin/includes/plugin.php' ); 
  5.  
  6. if ( ! function_exists( 'WC' ) ) { 
  7. elseif( defined( 'YITH_WCWL_PREMIUM' ) ) { 
  8. deactivate_plugins( plugin_basename( __FILE__ ) ); 
  9. else { 
  10. do_action( yith_wcwl_init );