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.5.2

apply_filters('woocommerce_admin_remote_specs_evaluator_should_log') is found 1 times:

  • /src/Admin/RemoteSpecs/RuleProcessors/EvaluationLogger.php line 85
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    * @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']}",