Fires after the 'Personal Options' settings table on the 'Profile' editing screen. The action only fires if the current user is editing their own profile.
$profile_user
Sortie :
@param WP_User $profile_user The current WP_User object.
// Ajouter une fonction au hook action 'profile_personal_options'
add_action('profile_personal_options', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($profile_user) {
// Votre code ici
error_log('Hook profile_personal_options déclenché');
}
Chargement des actualités...