posts_request_ids WordPress Filter Hook
This hook is used to request the IDs of all posts. It is useful for doing things like getting a list of all post IDs for a custom post type.
apply_filters( 'posts_request_ids', string $request , WP_Query $query ) #
Filters the Post IDs SQL request before sending.
Parameters
Source
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |