Fires after PHPMailer has successfully sent an email. The firing of this action does not necessarily mean that the recipient(s) received the email successfully. It only means that the `send` method above was able to process the request without any errors.
$mail_data
Sortie :
@param array $mail_data {
// Ajouter une fonction au hook action 'wp_mail_succeeded'
add_action('wp_mail_succeeded', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($mail_data) {
// Votre code ici
error_log('Hook wp_mail_succeeded déclenché');
}
Chargement des actualités...