restrict_manage_sites

ACTION wp-admin\includes\class-wp-ms-sites-list-table.php (ligne 338) github
Fires before the Filter button on the MS sites list table.

Paramètres

Entrée :
$which
Sortie :
@param string $which The location of the extra table nav markup: Either 'top' or 'bottom'.

Utilisation

// Ajouter une fonction au hook action 'restrict_manage_sites'
add_action('restrict_manage_sites', 'ma_fonction_personnalisee', 10, 1);

function ma_fonction_personnalisee($which) {
    // Votre code ici
    error_log('Hook restrict_manage_sites déclenché');
}

Actualités

Chargement des actualités...