Created
December 6, 2025 04:02
-
-
Save mindctrl/1906f4f7fa9c212eefa3489884aeed0c to your computer and use it in GitHub Desktop.
Disable WP Mail SMTP usage tracking
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| add_action( 'plugins_loaded', function() { | |
| add_filter( 'wp_mail_smtp_usage_tracking_is_enabled', '__return_false' ); | |
| } ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment