phpmailer_init firing
-
Hello,
i have the following code but the hook “phpmailer_init” doesn’t fire up. Any hints?
add_action("phpmailer_init", function($phpmailer) { echo "hello"; exit; }); // send mail if (wp_mail(get_field('impressum_email', 'option'), "Trauernachricht", $html, $headers)) { wp_redirect(admin_url("edit.php?post_type=sterbefall")); }
- The topic ‘phpmailer_init firing’ is closed to new replies.