post_limits_request WordPress Filter Hook
The post_limits_request hook is triggered when a user attempts to view a post that is beyond the number of posts they are allowed to view.
apply_filters_ref_array( 'post_limits_request', string $limits , WP_Query $query ) #
Filters the LIMIT clause of the query.
Description
For use by caching plugins.
Parameters
Source
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |