apply_filters( "network_sites_updated_message_{$action}", string $msg )
- Since
- 3.1.0
Filters a specific, non-default, site-updated message in the Network admin.
Description
The dynamic portion of the hook name, $action, refers to the non-default site update action.
Parameters
$msgstring- The update message. Default 'Settings saved'.
Fired at · 1
wp-admin/network/sites.php:366file scope
Source
View on Trac ↗View on GitHub ↗
360 * site update action.361 *362 * @since 3.1.0363 *364 * @param string $msg The update message. Default 'Settings saved'.365 */366 $msg = apply_filters( "network_sites_updated_message_{$action}", __( 'Settings saved.' ) );367 break;368 }369 370 if ( ! empty( $msg ) ) {371 $msg = wp_get_admin_notice(372 $msg,
History
Introduced in 3.1.0. Unchanged from 6.7.7 through 7.1.0.
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.7.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.