post_updated_messages filter-hook . WP 3.0.0
Filters the post updated messages.
Usage
add_filter( 'post_updated_messages', 'filter_function_name_204' ); function filter_function_name_204( $messages ){ // filter... return $messages; }
- $messages(array[])
- Post updated messages. For defaults see $messages declarations above.
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
In file: /wp-admin/edit-form-advanced.php
post_updated_messages
wp-admin/edit-form-advanced.php 219
$messages = apply_filters( 'post_updated_messages', $messages );