Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Log email fails
- */
- add_action( 'wp_mail_failed', function( $error ){
- if( class_exists( 'WP_Papertrail_API' ) ){
- WP_Papertrail_API::log( $error, 'wp_mail_failed' );
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement