wp_mail sending twice
-
So I have created a custom plugin for a site I am working on. The output is controlled by a shortcode that is in the content area of a page. When the form with a nonce gets filled out and is submitted vie POST method, as the shortcode fires it then checks the submission of the button, nonce, and data and then sends out an wp_mail email. Issue I am having is that it emails the exact same email twice almost like the shortcode is firing twice but only displays the output. I am not sure what is happening.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘wp_mail sending twice’ is closed to new replies.