Description
Toggle Email Control is a lightweight plugin designed for developers and site administrators who need to disable all outgoing emails from a WordPress site—perfect for development, staging, or testing environments. With a single checkbox in the admin settings, you can block emails sent via wp_mail()
and customize the admin notice that appears when the feature is active.
Key features:
- Disable all outgoing emails with one click.
- Displays a customizable admin notice when emails are disabled (default: “THIS DEV SITE HAS NO OUTGOING MAIL Mail from wp_mail() has been disabled for this site.”).
- Uses both
wp_mail
filter andphpmailer_init
fallback for reliable email blocking. - Ideal for preventing unwanted emails during testing or development.
No need to edit core files or wp-config.php
—everything is managed through a simple settings page.
For more information on the PLUGIN visit the official website: https://wpproatoz.com/wp-pro-a-to-z-plugins-available/
Key Features
- Disable all outgoing emails with one click.
- Displays a customizable admin notice when emails are disabled
- Uses both
wp_mail
filter andphpmailer_init
fallback for reliable email blocking. - Ideal for preventing unwanted emails during testing or development.