WordPress at a glance
filter is not described

bulk_actions-(screen_id) filter-hook . WP 3.1.0

Filters the list table bulk actions drop-down.

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


add_filter( 'bulk_actions-(screen_id)', 'filter_function_name_9110' );
function filter_function_name_9110( $actions ){
	// filter...

	return $actions;
An array of the available bulk actions.

Список изменений

С версии 3.1.0 Введена.

Где вызывается хук

wp-admin/includes/class-wp-list-table.php 457
$this->_actions = apply_filters( "bulk_actions-{$this->screen->id}", $this->_actions ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores

Где используется хук в ядре WordPress

Использование не найдено.