wc_order_attribution_debug_mode_enabled

wc_order_attribution_debug_mode_enabled

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.2.3

apply_filters('wc_order_attribution_debug_mode_enabled') is found 1 times:

  • /src/Internal/Orders/OrderAttributionController.php line 461
    		 * @since 8.5.0
    		 *
    		 * @param string $enabled 'yes' to enable debug mode, 'no' to disable.
    		 */
    		if ( 'yes' !== apply_filters( 'wc_order_attribution_debug_mode_enabled', 'no' ) ) {
    			return;
    		}
    
    		$this->logger->log(
    			$level,
    			sprintf( '%s %s', $method, $message ),