wpseek.com
WordPress开发者和主题制作者的搜索引擎



bulk_post_updated_messages › WordPress过滤钩子

Since3.7.0
已弃用n/a
apply_filters( 'bulk_post_updated_messages', $bulk_messages, $bulk_counts )
参数: (2)
  • (array[]) $bulk_messages Arrays of messages, each keyed by the corresponding post type. Messages are keyed with 'updated', 'locked', 'deleted', 'trashed', and 'untrashed'.
    Required: Yes
  • (int[]) $bulk_counts Array of item counts for each message, used to build internationalized strings.
    Required: Yes
定义在:
文档:

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 );