network_sites_updated_message_{$action}

network_sites_updated_message_{$action}

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('network_sites_updated_message_{$action}') is found 1 times:

  • /wp-admin/network/sites.php line 366
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
             * @since 3.1.0
             *
             * @param string $msg The update message. Default 'Settings saved'.
             */
            $msg = apply_filters( "network_sites_updated_message_{$action}", __( 'Settings saved.' ) );
            break;
    }
     
    if ( ! empty( $msg ) ) {
        $msg = wp_get_admin_notice(
            $msg,