Skip to content

Commit 3eecd83

Browse files
committed
Add priority
1 parent f7199fe commit 3eecd83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/class-stl-admin.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ private function __construct() {
3838

3939
// Disable emails for staging environments.
4040
if ( defined( 'WP_ENVIRONMENT_TYPE' ) && 'staging' === WP_ENVIRONMENT_TYPE ) {
41-
add_filter('pre_wp_mail', '__return_false' );
41+
add_filter('pre_wp_mail', '__return_false', PHP_INT_MAX );
4242
}
4343
}
4444

0 commit comments

Comments
 (0)