Filter: ep_documents_wp_query_set_mime_types

apply_filters( 'ep_documents_wp_query_set_mime_types', $should_set, $query ) → {bool}

Filter whether mime type restriction should be applied to the current WP Query

Parameters:
Name Type Description
$should_set bool

Whether to restrict this query with mime types or not

$query WP_Query

WP Query object

Since:
  • 5.1.0
Source:
Returns:

New value

Type
bool