apply_filters( 'bulk_post_updated_messages', array[] $bulk_messages, int[] $bulk_counts )
- Since
- 3.7.0
Filters the bulk action updated messages.
Description
By default, custom post types use the messages for the 'post' post type.
Compatibility
- WordPress
- since 3.7.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$bulk_messagesarray[]- Arrays of messages, each keyed by the corresponding post type. Messages are keyed with 'updated', 'locked', 'deleted', 'trashed', and 'untrashed'.
$bulk_countsint[]- Array of item counts for each message, used to build internationalized strings.
Where this hook fires · 1
wp-admin/edit.php:408file scope
Source code
* @since 3.7.0 * * @param array[] $bulk_messages Arrays of messages, each keyed by the corresponding post type. Messages are * keyed with 'updated', 'locked', 'deleted', 'trashed', and 'untrashed'. * @param int[] $bulk_counts Array of item counts for each message, used to build internationalized strings. */$bulk_messages = apply_filters( 'bulk_post_updated_messages', $bulk_messages, $bulk_counts );$bulk_counts = array_filter( $bulk_counts ); require_once ABSPATH . 'wp-admin/admin-header.php';?><div class="wrap"><h1 class="wp-heading-inline">Changelog
Introduced in 3.7.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.9.7 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.