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
This commit is contained in:
Peter Westwood 2009-08-28 07:17:03 +00:00
parent d9c6047a27
commit b4836e4e27

View File

@ -13,6 +13,9 @@ require(dirname(__FILE__) . '/wp-load.php');
/** Get the POP3 class with which to access the mailbox. */ /** Get the POP3 class with which to access the mailbox. */
require_once( ABSPATH . WPINC . '/class-pop3.php' ); 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. */ /** Only check at this interval for new messages. */
if ( !defined('WP_MAIL_INTERVAL') ) if ( !defined('WP_MAIL_INTERVAL') )
define('WP_MAIL_INTERVAL', 300); // 5 minutes define('WP_MAIL_INTERVAL', 300); // 5 minutes