Source View: xmlrpc_rsd_apis

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.

  • Action hooks look like this: do_action( "hook_name" )
  • Filter hooks look like this: apply_filters( "hook_name", "what_to_filter" ).

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
36   <service>
37     <engineName>WordPress</engineName>
38     <engineLink>http://wordpress.org/</engineLink>
39     <homePageLink><?php bloginfo_rss('url') ?></homePageLink>
40     <apis>
41       <api name="WordPress" blogID="1" preferred="true" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" />
42       <api name="Movable Type" blogID="1" preferred="false" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" />
43       <api name="MetaWeblog" blogID="1" preferred="false" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" />
44       <api name="Blogger" blogID="1" preferred="false" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" />
45       <?php do_action( 'xmlrpc_rsd_apis' ); ?>
46     </apis>
47   </service>
48 </rsd>
49 <?php
50 exit;
51 }
52
53 include_once(ABSPATH . 'wp-admin/includes/admin.php');
54 include_once(ABSPATH . WPINC . '/class-IXR.php');