term_updated_messages filter-hookWP 3.7.0

Filters the messages displayed when a tag is updated.

Usage

add_filter( 'term_updated_messages', 'wp_kama_term_updated_messages_filter' );

/**
 * Function for `term_updated_messages` filter-hook.
 * 
 * @param array[] $messages Array of arrays of messages to be displayed, keyed by taxonomy name.
 *
 * @return array[]
 */
function wp_kama_term_updated_messages_filter( $messages ){

	// filter...
	return $messages;
}
$messages(array[])
Array of arrays of messages to be displayed, keyed by taxonomy name.

Changelog

Since 3.7.0 Introduced.

Where the hook is called

In file: /wp-admin/includes/edit-tag-messages.php
term_updated_messages
wp-admin/includes/edit-tag-messages.php 49
$messages = apply_filters( 'term_updated_messages', $messages );

Where the hook is used in WordPress

Usage not found.