[wp-trac] [WordPress Trac] #16031: New bulk actions hook missing catcher behavior
WordPress Trac
noreply at wordpress.org
Thu Mar 5 11:30:44 UTC 2015
#16031: New bulk actions hook missing catcher behavior
-------------------------+-----------------------------
Reporter: Veraxus | Owner:
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future Release
Component: Plugins | Version: 3.1
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-------------------------+-----------------------------
Comment (by alexfurr):
I agree with all the recent comments. Not having an easy way to add bulk
actions is v annoying and counter-productive.
It SHOULD work like this, but it doesn't :(
{{{
add_filter('bulk_actions-edit-post', array( $this, 'my_custom_bulk_action'
));
function my_custom_bulk_action($actions)
{
$actions['newAction'] = 'New Action';
return $actions;
}
}}}
+1 sort it out please.
Alex
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16031#comment:53>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list