wphooks.info - bulk_post_updated_messages

bulk_post_updated_messages

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-admin/edit.php:
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
 * 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 array $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"><?php
echo esc_html( $post_type_object->labels->name );
?></h1>