wphooks.info - enable_update_services_configuration

enable_update_services_configuration

(trunk - 5.0-alpha-43304)

The hook occurs in the following 2 files

wp-admin/options-writing.php:
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
	get_current_screen()->add_help_tab(
		array(
			'id'      => 'options-postemail',
			'title'   => __( 'Post Via Email' ),
			'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&#8217;s a good idea to keep this address very secret.' ) . '</p>',
		)
	);
}

/** This filter is documented in wp-admin/options-writing.php */
if ( apply_filters( 'enable_update_services_configuration', true ) ) {
	get_current_screen()->add_help_tab(
		array(
			'id'      => 'options-services',
			'title'   => __( 'Update Services' ),
			'content' => '<p>' . __( 'If desired, WordPress will automatically alert various services of your new posts.' ) . '</p>',
		)
	);
}
wp-admin/options-writing.php:
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
<?php } ?>

<?php
/**
 * Filters whether to enable the Update Services section in the Writing settings screen.
 *
 * @since 3.0.0
 *
 * @param bool $enable Whether to enable the Update Services settings area. Default true.
 */
if ( apply_filters( 'enable_update_services_configuration', true ) ) {
?>
<h2 class="title"><?php _e( 'Update Services' ); ?></h2>

<?php if ( 1 == get_option( 'blog_public' ) ) : ?>

	<p><label for="ping_sites">
	<?php
		printf(
			/* translators: %s: Codex URL */