woocommerce_admin_remote_specs_evaluator_should_log
woocommerce_admin_remote_specs_evaluator_should_log
Appears in: woocommerce.9.2.2, woocommerce.9.2.3, woocommerce.9.3.1, woocommerce.9.3.3, woocommerce.9.4.2, woocommerce.9.4.3, woocommerce.9.5.1, woocommerce.9.5.2
Hook Type: filter
Displaying hooks found in version: woocommerce.9.5.2apply_filters('woocommerce_admin_remote_specs_evaluator_should_log') is found 1 times:
- /src/Admin/RemoteSpecs/RuleProcessors/EvaluationLogger.php line 858182838485868788899091
* @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']}"
,