wpseek.com
A WordPress-centric search engine for devs and theme authors



bulk_post_updated_messages › WordPress Filter Hooks

Since3.7.0
Deprecatedn/a
apply_filters( 'bulk_post_updated_messages', $bulk_messages, $bulk_counts )
Parameters: (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
Defined at:
Codex:

Filters the bulk action updated messages.

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





Source

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