wc_naguro_connect_init

The WooCommerce Naguro Connect wc naguro connect init function.

Description

wc_naguro_connect_init(); 

Usage

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

Defined (1)

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

/woocommerce-naguro-connect.php  
  1. function wc_naguro_connect_init() { 
  2. // Load PHP 5.2 compatible autoloader if required 
  3. if (version_compare(PHP_VERSION, '5.3.0') >= 0) { 
  4. include('vendor/autoload.php'); 
  5. } else { 
  6. include('vendor/autoload_52.php'); 
  7.  
  8. // Setup the core class instance 
  9. global $wc_naguro_connect; 
  10. $wc_naguro_connect = new WC_Naguro();