get_crp_posts
Filter array of post IDs or objects.
Type: filter
Since: 1.9
Source: includes/frontend/class-display.php line 340
Parameters
| Type | Name | Description |
|---|---|---|
\WP_Post[]|int[] | $posts | Array of post objects or post IDs. |
array | $args | Arguments to retrieve posts. |
Usage
add_filter( 'get_crp_posts', function($posts, $args) {
// ...
return $posts;
} );