Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

WordPress Disable Email plugin


Disables all email through wp_mail() on current installation. Email will by disabled by default, but can be overridden in the settings.


  • Disables all email by default
  • Enable email again by matching the given hostname with the current server hostname.
  • Override the $to address (or multiple, comma sperated addresses), so you can use that for testing purposes.

Note: The plugin performs a check on the $_SERVER['HTTP_HOST'] variable.


There are no reviews for this plugin.

Bidragsytarar og utviklarar

“WordPress Disable Email plugin” is open source software. The following people have contributed to this plugin.




  • Initial plugin