Choose which cookies we can use. You can change this at any time from “Cookie settings” in the footer. See our cookie policy for details.

Essential

Needed for the site to work, such as remembering your cookie choices. These can’t be switched off.

Always on
Skip to content
Developer reference

SMTP Email hooks

3 filters and actions, read from the plugin source. Add these in a theme’s functions.php or a Code Snippet.

  • action

    wpextended/smtp-email/email_fail

    add_action( 'wpextended/smtp-email/email_fail', function () {
        // Your code here
    } );
  • action

    wpextended/smtp-email/email_sent

    add_action( 'wpextended/smtp-email/email_sent', function () {
        // Your code here
    } );
  • action

    wpextended/smtp-email/email_success

    add_action( 'wpextended/smtp-email/email_success', function () {
        // Your code here
    } );