trendwerk / dev-mail
Redirect all mails on development and staging environments. Made for WordPress.
Installs: 1 958
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 1
Type:wordpress-muplugin
Requires
- php: >=5.4
- composer/installers: ~1
This package is auto-updated.
Last update: 2024-11-26 21:09:28 UTC
README
Redirect all mails on development and staging environments. Made for WordPress.
Installation
composer require trendwerk/dev-mail --dev
Setup
The constants below should be placed in your environment configuration file.
WP_ENV
Defines which environment we're in. This contains either development, staging or production, depending on the Git branche the environment is linked to.
TP_DEV_MAIL
Contains the e-mail address to which e-mail will be sent in the development environment. In staging environments, the e-mail will be sent to the e-mail address set in WordPress admin.