Skip to content

Commit

Permalink
Allow a plugin to do a complete takeover of Post by Email
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.automattic.com/wordpress/trunk@11892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
westi committed Aug 28, 2009
1 parent 40ac59e commit 46ffb5b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wp-mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
/** 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
Expand Down

0 comments on commit 46ffb5b

Please sign in to comment.