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.

Usage

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;
}
$msg(string)
The update message.
Default: 'Settings saved'

Changelog

Since 3.1.0 Introduced.

Where the hook is called

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

Where the hook is used in WordPress

Usage not found.