Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: enable_update_services_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
124 <td><fieldset><legend class="screen-reader-text"><span><?php _e('XML-RPC') ?></span></legend>
125 <label for="enable_xmlrpc">
126 <input name="enable_xmlrpc" type="checkbox" id="enable_xmlrpc" value="1" <?php checked('1', get_option('enable_xmlrpc')); ?> />
127 <?php _e('Enable the WordPress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols.') ?></label><br />
128 </fieldset></td>
129 </tr>
130 <?php do_settings_fields('writing', 'remote_publishing'); ?>
131 </table>
132
133 <?php if ( apply_filters( 'enable_update_services_configuration', true ) ) { ?>
134 <h3><?php _e('Update Services') ?></h3>
135
136 <?php if ( get_option('blog_public') ) : ?>
137
138 <p><label for="ping_sites"><?php _e('When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see <a href="http://codex.wordpress.org/Update_Services">Update Services</a> on the Codex. Separate multiple service <abbr title="Universal Resource Locator">URL</abbr>s with line breaks.') ?></label></p>
139
140 <textarea name="ping_sites" id="ping_sites" class="large-text code" rows="3"><?php form_option('ping_sites'); ?></textarea>
141
142 <?php else : ?>