wc_pf_init

The WooCommerce Payment Fees Lite wc pf init function.

Description

wc_pf_init(); 

Usage

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

Defined (1)

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

/woocommerce-payment-fees.php  
  1. function wc_pf_init() { 
  2. global $woocommerce; 
  3.  
  4. if( !isset( $woocommerce ) ) { return; } 
  5.  
  6. require_once( 'classes/class.wc-pf.php' ); 
  7.