network_sites_updated_message_{$action}

FILTER wp-admin\network\sites.php (ligne 380) github
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.

Paramètres

Entrée :
__( 'Settings saved.'
Sortie :
@param string $msg The update message. Default 'Settings saved'.

Utilisation

// Modifier la valeur avec le filtre 'network_sites_updated_message_{$action}'
add_filter('network_sites_updated_message_{$action}', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre(__( 'Settings saved.') {
    // Modifier la valeur
    return __( 'Settings saved.';
}

Actualités

Chargement des actualités...