network_sites_updated_message_(action) filter-hookWP 3.1.0

Filters a specific, non-default, site-updated message in the Network admin.

The dynamic portion of the hook name, $action, refers to the non-default site update action.


add_filter( 'network_sites_updated_message_(action)', 'wp_kama_network_sites_updated_message_action_filter' );

 * Function for `network_sites_updated_message_(action)` filter-hook.
 * @param string $msg The update message.
 * @return string
function wp_kama_network_sites_updated_message_action_filter( $msg ){

	// filter...
	return $msg;
The update message.
Default: 'Settings saved'


Since 3.1.0 Introduced.

Where the hook is called

In file: /wp-admin/network/sites.php
wp-admin/network/sites.php 356
$msg = apply_filters( "network_sites_updated_message_{$action}", __( 'Settings saved.' ) );

Where the hook is used in WordPress

Usage not found.