Fires after the 'Application Passwords' section is loaded on 'Edit User' screen. The action only fires if the current user is editing another user's profile.
$profile_user
Sortie :
@param WP_User $profile_user The current WP_User object.
// Ajouter une fonction au hook action 'edit_user_profile'
add_action('edit_user_profile', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($profile_user) {
// Votre code ici
error_log('Hook edit_user_profile déclenché');
}
Chargement des actualités...