Created
November 27, 2023 05:17
-
-
Save mehrshaddarzi/5ce1827929f836a0182a590c7e90bd6f to your computer and use it in GitHub Desktop.
Disable WordPress Email
This file contains 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 | |
/* | |
* Plugin Name: Disable WordPress Emails | |
*/ | |
add_filter('pre_wp_mail', '__return_true'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment