apply_filters( 'bulk_post_updated_messages', array[] $bulk_messages , int[] $bulk_counts )
Filters the bulk action updated messages.
Contents
By default, custom post types use the messages for the ‘post’ post type.
Note: This filter is not prefixed by tribe_ or tec_ because it is the filter from wp-admin/edit.php.
Parameters
- $bulk_messages
-
(array[]) Arrays of messages, each keyed by the corresponding post type. Messages are keyed with 'updated', 'locked', 'deleted', 'trashed', and 'untrashed'.
- $bulk_counts
-
(int[]) Array of item counts for each message, used to build internationalized strings.
Source
Changelog
Version | Description |
---|---|
WP 3.7.0 | Introduced. |