wp_mail works with add_action(‘save_post’, …) but not an ajax action July 9, 2022 by Tarik Billa wp_mail works with add_action(‘save_post’, …) but not an ajax action