posts_groupby_request WordPress Filter Hook
If you're looking for a way to group your WordPress posts by request, then you've come to the right place. The posts_groupby_request hook allows you to do just that. With this hook, you can group your posts by any number of criteria, including author, post type, and even post status. This is a great way to organize your content and make it easy to find what you're looking for. So if you're looking for a way to group your WordPress posts, then be sure to check out the posts_groupby_request hook.
apply_filters_ref_array( 'posts_groupby_request', string $groupby , WP_Query $query ) #
Filters the GROUP BY clause of the query.
Description
For use by caching plugins.
Parameters
Source
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |