Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: enable_post_by_email_configuration

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
4  * a WordPress post. Mailbox connection information must be
5  * configured under Settings > Writing
6  *
7  * @package WordPress
8  */
9
10 /** Make sure that the WordPress bootstrap has run before continuing. */
11 require(dirname(__FILE__) . '/wp-load.php');
12
13 if ( ! apply_filters( 'enable_post_by_email_configuration', true ) )
14      wp_die( __( 'This action has been disabled by the administrator.' ) );
15
16 /** Allow a plugin to do a complete takeover of Post by Email **/
17 do_action('wp-mail.php');
18
19 /** Get the POP3 class with which to access the mailbox. */
20 require_once( ABSPATH . WPINC . '/class-pop3.php' );
21
22 /** Only check at this interval for new messages. */