Delete / change Status from CP via Ajax (trigger event) In a plugin init function I'm listening to entries.saveEntry and entries.deleteEntry. This works perfectly if I'm editing entries from their detail view. If I 'bulk' change or delete entries, these events are not fired. I saw in the SetStatusElementAction class an event called onSetStatus is triggered but how can I listen to it? The same goes with the delete action. 

Somehow the following doesn't get triggered for me:

craft()-&gt;on('entries.setStatus', function($event){ dd($event); });


What am I missing here?
Unfortunately, this is a known bug in Craft. Bulk actions do not trigger their respective events.

I'm not sure when (if?) a solution will appear. I'm guessing that it won't be fixed in the 2.x branch, since this bug has existed for quite awhile now. With any luck, it'll be fixed when Craft 3 launches.