From b4836e4e27d62e21f3d46294566b9c24c93f4038 Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Fri, 28 Aug 2009 07:17:03 +0000 Subject: [PATCH] Allow a plugin to do a complete takeover of Post by Email git-svn-id: https://develop.svn.wordpress.org/trunk@11892 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-mail.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wp-mail.php b/wp-mail.php index a8d9a70365..e29d150776 100644 --- a/wp-mail.php +++ b/wp-mail.php @@ -13,6 +13,9 @@ require(dirname(__FILE__) . '/wp-load.php'); /** Get the POP3 class with which to access the mailbox. */ require_once( ABSPATH . WPINC . '/class-pop3.php' ); +/** Allow a plugin to do a complete takeover of Post by Email **/ +do_action('wp-mail'); + /** Only check at this interval for new messages. */ if ( !defined('WP_MAIL_INTERVAL') ) define('WP_MAIL_INTERVAL', 300); // 5 minutes