WPG Mail Trapping
Prevent sending emails from non-production stages
by Pierre Dargham, Globalis Media Systems · github.com/wp-globalis-tools/wpg-mail-trapping · website
★ 1stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/wp-globalis-tools/wpg-mail-trapping/archive/refs/heads/master.zipReadme
wpg-mail-trapping
Prevent sending emails from non-production environments
Installation :
- Run
composer require globalis/wpg-mail-trappingor addwpg-mail-trapping.phpto yourmu-pluginsdirectory
Configuration
-
Add
define('WPG_MAIL_TRAPPING', serialize(['you@example.com']));in your wp-config.php file. -
If you want to disable the mail trapping, set the constant to false:
define('WPG_MAIL_TRAPPING', false);
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| 1.0.1 | Dec 20, 2017 |
| 1.0.0 | Dec 20, 2017 |
| 0.4.0 | Dec 20, 2017 |
| 0.3.0 | Dec 20, 2017 |
| 0.2.0 | Dec 20, 2017 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.