vtmin_debug_options
The VarkTech Minimum Purchase for WooCommerce vtmin debug options function.
Description
vtmin_debug_options();
Usage
if ( !function_exists( 'vtmin_debug_options' ) ) { require_once ABSPATH . PLUGINDIR . 'varktech-minimum-purchase-for-woocommerce/woo-integration/vtmin-parent-functions.php'; } // NOTICE! Understand what this does before running. $result = vtmin_debug_options();
Defined (1)
The function is defined in the following location(s).
- /woo-integration/vtmin-parent-functions.php
- function vtmin_debug_options() { //v1.09 updated function
- global $vtmin_setup_options;
- if ( ( isset( $vtmin_setup_options['debugging_mode_on'] )) &&
- ( $vtmin_setup_options['debugging_mode_on'] == 'yes' ) ) {
- error_reporting(E_ALL);
- } else {
- error_reporting(E_ERROR | E_CORE_ERROR | E_COMPILE_ERROR); //only allow FATALerrortypes
- }
- }