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
141 <td><fieldset><legend class="screen-reader-text"><span><?php _e('XML-RPC') ?></span></legend>
142 <label for="enable_xmlrpc">
143 <input name="enable_xmlrpc" type="checkbox" id="enable_xmlrpc" value="1" <?php checked('1', get_option('enable_xmlrpc')); ?> />
144 <?php _e('Enable the WordPress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols.') ?></label><br />
145 </fieldset></td>
146 </tr>
147 <?php do_settings_fields('writing', 'remote_publishing'); ?>
148 </table>
149
150 <?php if ( apply_filters( 'enable_update_services_configuration', true ) ) { ?>
151 <h3><?php _e('Update Services') ?></h3>
152
153 <?php if ( get_option('blog_public') ) : ?>
154
155 <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>
156
157 <textarea name="ping_sites" id="ping_sites" class="large-text code" rows="3"><?php echo esc_textarea( get_option('ping_sites') ); ?></textarea>
158
159 <?php else : ?>