Fires after a new user has been created.
$user_id, $notify
Sortie :
@param int|WP_Error $user_id ID of the newly created user or WP_Error on failure. @param string $notify Type of notification that should happen. See
// Ajouter une fonction au hook action 'edit_user_created_user'
add_action('edit_user_created_user', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($user_id, $notify) {
// Votre code ici
error_log('Hook edit_user_created_user déclenché');
}
Chargement des actualités...