Skip to content

castlegateit/cgit-wp-disable-mail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Castlegate IT WP Disable Mail

Castlegate IT WP Disable Mail replaces wp_mail() with a function that returns true without sending mail to prevent a WordPress website from sending mail. Any other plugins that replace the wp_mail() function should be disabled while this plugin is active.

If the constant CGIT_WP_DISABLE_MAIL_LOG has been defined, the plugin will log all attempts to send mail to this file.

define('CGIT_WP_DISABLE_MAIL_LOG', '/path/to/mail.log');

License

Released under the MIT License. See LICENSE for details.

About

Disable email sent with the wp_mail function.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages