WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
This hook occurs 2 times in this file.
Line | Code |
---|---|
32 | array( |
33 | 'id' => 'options-postemail', |
34 | 'title' => __( 'Post Via Email' ), |
35 | 'content' => '<p>' . __( 'Post via email settings allow you to send your WordPress installation an email with the content of your post. You must set up a secret email account with POP3 access to use this, and any mail received at this address will be posted, so it’s a good idea to keep this address very secret.' ) . '</p>', |
36 | ) |
37 | ); |
38 | } |
39 |
|
40 | /** This filter is documented in wp-admin/options-writing.php */ |
41 | if ( apply_filters( 'enable_update_services_configuration', true ) ) { |
42 | get_current_screen()->add_help_tab( |
43 | array( |
44 | 'id' => 'options-services', |
45 | 'title' => __( 'Update Services' ), |
46 | 'content' => '<p>' . __( 'If desired, WordPress will automatically alert various services of your new posts.' ) . '</p>', |
47 | ) |
48 | ); |
49 | } |
50 |
|
Line | Code |
196 |
|
197 | <?php |
198 | /** |
199 | * Filters whether to enable the Update Services section in the Writing settings screen. |
200 | * |
201 | * @since 3.0.0 |
202 | * |
203 | * @param bool $enable Whether to enable the Update Services settings area. Default true. |
204 | */ |
205 | if ( apply_filters( 'enable_update_services_configuration', true ) ) { |
206 | ?> |
207 | <h2 class="title"><?php _e( 'Update Services' ); ?></h2> |
208 |
|
209 | <?php if ( 1 == get_option( 'blog_public' ) ) : ?> |
210 |
|
211 | <p><label for="ping_sites"> |
212 | <?php |
213 | printf( |
214 | /* translators: %s: Documentation URL. */ |