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 |
Returns:
New cached posts
- Type
- array