apply_filters( "bulk_actions-{$this->screen->id}", array $actions )

Filters the items in the bulk actions menu of the list table.


Description

The dynamic portion of the hook name, $this->screen->id, refers to the ID of the current screen.


Parameters

$actions

An array of the available bulk actions.


Source

File: wp-admin/includes/class-wp-list-table.php

View on GitHub



Changelog

Changelog
Version Description
5.6.0 A bulk action can now contain an array of options in order to create an optgroup.
3.1.0 Introduced.