wordpress / latest / hooks / dashboard_recent_posts_query_args.html

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

File: wp-admin/includes/dashboard.php. View all references

$query_args = apply_filters( 'dashboard_recent_posts_query_args', $query_args );

Used By

Used By Description

Changelog

Version Description
4.2.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/dashboard_recent_posts_query_args