wc_pf_debug

The WooCommerce Payment Fees Lite wc pf debug function.

Description

wc_pf_debug(); 

Usage

  1. if ( !function_exists( 'wc_pf_debug' ) ) { 
  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_debug(); 
  7.  

Defined (1)

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

/woocommerce-payment-fees.php  
  1. function wc_pf_debug() { 
  2. $values = func_get_args(); 
  3.  
  4. for( $i = 0; $i < count( $values ); $i++ ) { 
  5. echo '<pre>Param ' . $i . ': '; 
  6. var_dump( $values[$i] ); 
  7. echo '</pre>';