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
179 <td><fieldset><legend class="screen-reader-text"><span><?php _e('XML-RPC') ?></span></legend>
180 <label for="enable_xmlrpc">
181 <input name="enable_xmlrpc" type="checkbox" id="enable_xmlrpc" value="1" <?php checked('1', get_option('enable_xmlrpc')); ?> />
182 <?php _e('Enable the WordPress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols.') ?></label><br />
183 </fieldset></td>
184 </tr>
185 <?php do_settings_fields('writing', 'remote_publishing'); ?>
186 </table>
187
188 <?php if ( apply_filters( 'enable_update_services_configuration', true ) ) { ?>
189 <h3><?php _e('Update Services') ?></h3>
190
191 <?php if ( 1 == get_option('blog_public') ) : ?>
192
193 <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>
194
195 <textarea name="ping_sites" id="ping_sites" class="large-text code" rows="3"><?php echo esc_textarea( get_option('ping_sites') ); ?></textarea>
196
197 <?php else : ?>