apply_filters( 'dashboard_recent_posts_query_args', array $query_args )
Filters the query arguments used for the Recent Posts widget.
Parameters
- $query_args
-
(array) The arguments passed to WP_Query to produce the list of posts.
Source
Changelog
Version | Description |
---|---|
4.2.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/dashboard_recent_posts_query_args