restrict_manage_users

ACTION wp-admin\includes\class-wp-users-list-table.php (ligne 330) github
Fires just before the closing div containing the bulk role-change controls in the Users list table.

Paramètres

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

Utilisation

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

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

Actualités

Chargement des actualités...