array( 'type' => 'warning', 'message' => 'Detected usage of %s, possible slow query.', 'keys' => array( 'tax_query', 'meta_query', 'meta_key', 'meta_value', ), ), ); } /** * Callback to process each confirmed key, to check value. * * @param string $key Array index / key. * @param mixed $val Assigned value. * @param int $line Token line. * @param array $group Group definition. * * @return bool Always returns TRUE as the value is irrelevant. */ public function callback( $key, $val, $line, $group ) { return true; } }