Filter hook 'bulk_post_updated_messages'

in WP Core File wp-admin/edit.php at line 408

Description

Filters the bulk action updated messages. By default, custom post types use the messages for the 'post' post type.

Occurrences

Filename Line Number
wp-admin/edit.php 408

Parameters

Type Name Description
array[] $bulk_messages Arrays of messages, each keyed by the corresponding post type. Messages are keyed with 'updated', 'locked', 'deleted', 'trashed', and 'untrashed'.
int[] $bulk_counts Array of item counts for each message, used to build internationalized strings.

PHP Doc

/**
 * Filters the bulk action updated messages.
 *
 * By default, custom post types use the messages for the 'post' post type.
 *
 * @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.
 */