Filter: ep_wp_query_cached_posts

apply_filters( 'ep_wp_query_cached_posts', $posts, $query ) → {array}

Filter cached posts pre-post query

Parameters:
Name Type Description
$posts array

Array of posts

$query WP_Query

WP Query object

Source:
Returns:

New cached posts

Type
array