Fires at the end of the 'Personal Options' settings table on the user editing screen.
$profile_user
Sortie :
@param WP_User $profile_user The current WP_User object.
// 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é');
}
Chargement des actualités...