personal_options

ACTION wp-admin\user-edit.php (ligne 422) github
Fires at the end of the 'Personal Options' settings table on the user editing screen.

Paramètres

Entrée :
$profile_user
Sortie :
@param WP_User $profile_user The current WP_User object.

Utilisation

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

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

Actualités

Chargement des actualités...