Filter: ep_query_post_type

apply_filters( 'ep_query_post_type', $post_types, $query ) → {string|array}

Filter post type query variables before WP Query

Parameters:
Name Type Description
$post_types string | array

Post types

$query WP_Query

WP Query object

Since:
  • 2.1
Source:
Returns:

New post types

Type
string | array