Filter: ep_query_logger_allowed_log_types

apply_filters( 'ep_query_logger_allowed_log_types', $callable_map, $query, $type ) → {array}

Filter the array with a map from query types to callables. If the callable returns true, the query will be logged.

Parameters:
Name Type Description
$callable_map array

Array indexed by type and valued by a callable that returns a boolean

$query array

Remote request arguments

$type string

Request type

Since:
  • 4.4.0
Source:
Returns:

New array

Type
array