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