apply_filters( ‘dashboard_recent_posts_query_args’, array $query_args )

In this article

Filters the query arguments used for the Recent Posts widget.

Parameters

$query_argsarray
The arguments passed to WP_Query to produce the list of posts.

Source

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

Changelog

VersionDescription
4.2.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.