woocommerce_admin_remote_specs_evaluator_should_log

woocommerce_admin_remote_specs_evaluator_should_log

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.1

apply_filters('woocommerce_admin_remote_specs_evaluator_should_log') is found 1 times:

  • /src/Admin/RemoteSpecs/RuleProcessors/EvaluationLogger.php line 85
    		 * @since 9.2.0
    		 *
    		 * @param bool $should_log Whether the rule evaluator should log the results.
    		 */
    		if ( ! apply_filters( 'woocommerce_admin_remote_specs_evaluator_should_log', $should_log ) ) {
    			return;
    		}
    
    		foreach ( $this->results as $result ) {
    			$this->logger->debug(
    				"[{$this->slug}] {$result['rule']}: {$result['result']}",