load_wcml_without_wpml

The WooCommerce Multilingual load wcml without wpml function.

Description

load_wcml_without_wpml(); 

Usage

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

Defined (1)

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

/wpml-woocommerce.php  
  1. function load_wcml_without_wpml() { 
  2. if( !did_action( 'wpml_loaded' ) ) { 
  3. global $woocommerce_wpml; 
  4. $woocommerce_wpml = new woocommerce_wpml();