wc_beans_instance

Use instance to avoid mutiple api call so Beans can be super fast.

Description

wc_beans_instance(); 

Usage

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

Defined (1)

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

/woocommerce-beans.php  
  1. function wc_beans_instance() { 
  2. return WC_Beans::instance();