[wp-trac] [WordPress Trac] #16031: Bulk actions: Reactivate bulk actions hook + add hander hook for all admin screens
WordPress Trac
noreply at wordpress.org
Fri Sep 23 20:32:49 UTC 2016
#16031: Bulk actions: Reactivate bulk actions hook + add hander hook for all admin
screens
----------------------------+-----------------------
Reporter: Veraxus | Owner:
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.7
Component: Administration | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
----------------------------+-----------------------
Comment (by ericlewis):
In [changeset:"38647"]:
{{{
#!CommitTicketReference repository="" revision="38647"
Allow custom bulk actions in admin list tables.
Bulk action filtering was introduced in 3.1, but only to remove default
bulk actions, not add new ones.
Bulk actions can now be registered for all admin list table dropdowns via
the `bulk_actions-{get_current_screen()->id}` filter. Handling custom bulk
actions can be performed in the corresponding and newly introduced
`handle_bulk_actions-${get_current_screen()->id}` filter.
Props scribu, flixos90, Veraxus.
See #16031.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16031#comment:91>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list