apply_filters( 'bulk_action_observer_ids', array $bulk_action_observer_ids )
- Since
- 6.8.1
Filters the array of field name attributes for bulk actions.
Compatibility
- WordPress
- since 6.8.1
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in 4 of the 5 tracked releases, added in 6.8.1.
Parameters
$bulk_action_observer_idsarray- { An array of field name attributes for bulk actions.
@type string $bulk_action The bulk action field name. Default 'action'.
@type string $changeit The new role field name. Default 'new_role'.
}$bulk_actionstringThe bulk action field name. Default 'action'.$changeitstringThe new role field name. Default 'new_role'.
Where this hook fires · 1
wp-includes/script-loader.php:788wp_default_scripts()
Source code
* An array of field name attributes for bulk actions. * * @type string $bulk_action The bulk action field name. Default 'action'. * @type string $changeit The new role field name. Default 'new_role'. * } */ apply_filters( 'bulk_action_observer_ids', $bulk_action_observer_ids ) ); $scripts->add( 'wp-sanitize', "/wp-includes/js/wp-sanitize$suffix.js", array(), false, 1 ); $scripts->add( 'sack', "/wp-includes/js/tw-sack$suffix.js", array(), '1.6.1', 1 );Changelog
Introduced in 6.8.1. Unchanged from 6.8.8 through 7.1.0.
Signature, return type and hooks compared across 4 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.