Opened 7 years ago
Last modified 3 years ago
#37578 new enhancement
Dashboard Recent Activity widget - new filters to manipulate output
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.6 |
Component: | Administration | Keywords: | has-patch |
Focuses: | ui, administration | Cc: |
Description
It is currently not possible to manipulate the recent post activity dashboard widget. Output is built using wp_dashboard_recent_posts()
. 2 filters could be introduced for the parameters for future and recent posts.
This would allow easy interaction with the parameters array, for instance increasing the amount of posts shown, changing order, post status, CSS ID etc - would definitely make it more useful!
I realise that there is a filter dashboard_recent_posts_query_args
inside thewp_dashboard_recent_posts()
function (used to build the queries, useful for switching post type etc), but there is currently no way to interact with the calls to this function.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
New filters for Dashboard Recent Activity widget future and recent posts.