On this page
apply_filters( 'dashboard_recent_drafts_query_args', array $query_args )
Filters the post query arguments for the ‘Recent Drafts’ dashboard widget.
Parameters
$query_argsarray-
The query arguments for the 'Recent Drafts' dashboard widget.
Source
File: wp-admin/includes/dashboard.php. View all references
$query_args = apply_filters( 'dashboard_recent_drafts_query_args', $query_args );
Related
Used By
| Used By | Description |
|---|---|
| wp_dashboard_recent_drafts() wp-admin/includes/dashboard.php | Show recent drafts of the user on the dashboard. |
Changelog
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/dashboard_recent_drafts_query_args