[wp-trac] [WordPress Trac] #37578: Dashboard Recent Activity widget - new filters to manipulate output
WordPress Trac
noreply at wordpress.org
Thu Nov 14 18:14:38 UTC 2024
#37578: Dashboard Recent Activity widget - new filters to manipulate output
-------------------------------------------------+-------------------------
Reporter: Jonnyauk | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future
| Release
Component: Administration | Version: 4.6
Severity: normal | Resolution:
Keywords: has-patch changes-requested good- | Focuses:
first-bug |
-------------------------------------------------+-------------------------
Changes (by desrosj):
* keywords: has-patch => has-patch changes-requested good-first-bug
* focuses: ui, administration =>
* milestone: => Future Release
Comment:
Hi @Jonnyauk,
My apologies that this took so long to receive a response!
Instead of adding new filters, what if the `$id` passed to
`wp_dashboard_recent_posts()` were also passed to the filter as an
additional parameter? Then the preexisting
`dashboard_recent_posts_query_args` filter could be used for this in any
context by providing a bit more control.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37578#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list