Filter: ep_query_logger_should_log_query

apply_filters( 'ep_query_logger_should_log_query', $should_log, $query, $type ) → {bool}

Filter the formatted query log

Parameters:
Name Type Description
$should_log bool

Whether the query should be logged or not

$query array

The failed query

$type string

The query type

Since:
  • 4.4.0
Source:
Returns:

New value of $should_log

Type
bool