bulk_post_updated_messages

过滤钩子


apply_filters( 'bulk_post_updated_messages', $bulk_messages, $bulk_counts )
参数
  • (array[])
    $bulk_messages
    Arrays of messages, each keyed by the corresponding post type. Messages are
    keyed with ‘updated’, ‘locked’, ‘deleted’, ‘trashed’, and ‘untrashed’.
    Required:
  • (int[])
    $bulk_counts
    Array of item counts for each message, used to build internationalized strings.
    Required:
定义位置
  • wp-admin/edit.php
    , line 404
引入
3.7.0
弃用

Filters the bulk action updated messages.

By default, custom post types use the messages for the ‘post’ post type.

$bulk_messages = apply_filters( 'bulk_post_updated_messages', $bulk_messages, $bulk_counts );