WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )apply_filters( "hook_name", "what_to_filter" ).Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
| Line | Code |
|---|---|
| 772 | * @since 6.8.1 |
| 773 | * |
| 774 | * @param array $bulk_action_observer_ids { |
| 775 | * An array of field name attributes for bulk actions. |
| 776 | * |
| 777 | * @type string $bulk_action The bulk action field name. Default 'action'. |
| 778 | * @type string $changeit The new role field name. Default 'new_role'. |
| 779 | * } |
| 780 | */ |
| 781 | apply_filters( 'bulk_action_observer_ids', $bulk_action_observer_ids ) |
| 782 | ); |
| 783 | |
| 784 | $scripts->add( 'wp-sanitize', "/wp-includes/js/wp-sanitize$suffix.js", array(), false, 1 ); |
| 785 | |
| 786 | $scripts->add( 'sack', "/wp-includes/js/tw-sack$suffix.js", array(), '1.6.1', 1 ); |
| 787 | |
| 788 | $scripts->add( 'quicktags', "/wp-includes/js/quicktags$suffix.js", array(), false, 1 ); |
| 789 | did_action( 'init' ) && $scripts->localize( |
| 790 | 'quicktags', |