We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7199fe commit 3eecd83Copy full SHA for 3eecd83
includes/class-stl-admin.php
@@ -38,7 +38,7 @@ private function __construct() {
38
39
// Disable emails for staging environments.
40
if ( defined( 'WP_ENVIRONMENT_TYPE' ) && 'staging' === WP_ENVIRONMENT_TYPE ) {
41
- add_filter('pre_wp_mail', '__return_false' );
+ add_filter('pre_wp_mail', '__return_false', PHP_INT_MAX );
42
}
43
44
0 commit comments