W3cubDocs

/WordPress

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 on Trac

Changelog

Version Description
4.2.0 Introduced.

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