[wp-trac] [WordPress Trac] #37578: Dashboard Recent Activity widget - new filters to manipulate output

WordPress Trac noreply at wordpress.org
Fri Aug 5 01:41:44 UTC 2016


#37578: Dashboard Recent Activity widget - new filters to manipulate output
--------------------------------+-----------------------------
 Reporter:  Jonnyauk            |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Administration      |    Version:  trunk
 Severity:  normal              |   Keywords:
  Focuses:  ui, administration  |
--------------------------------+-----------------------------
 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 the`wp_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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37578>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list