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 } );
