network_sites_updated_message_(action) filter-hook . WP 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)', 'filter_function_name_668' ); function filter_function_name_668( $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 351
$msg = apply_filters( "network_sites_updated_message_{$action}", __( 'Settings saved.' ) );