vtmin_debug_options

The VarkTech Minimum Purchase for WooCommerce vtmin debug options function.

Description

vtmin_debug_options(); 

Usage

  1. if ( !function_exists( 'vtmin_debug_options' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'varktech-minimum-purchase-for-woocommerce/woo-integration/vtmin-parent-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = vtmin_debug_options(); 
  7.  

Defined (1)

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

/woo-integration/vtmin-parent-functions.php  
  1. function vtmin_debug_options() { //v1.09 updated function 
  2.  
  3. global $vtmin_setup_options; 
  4. if ( ( isset( $vtmin_setup_options['debugging_mode_on'] )) && 
  5. ( $vtmin_setup_options['debugging_mode_on'] == 'yes' ) ) {  
  6. error_reporting(E_ALL);  
  7. } else { 
  8. error_reporting(E_ERROR | E_CORE_ERROR | E_COMPILE_ERROR); //only allow FATALerrortypes 
  9.  
  10.