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
44       <api name="Blogger" blogID="1" preferred="false" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" />
45       <?php
46       /**
47        * Add additional APIs to the Really Simple Discovery (RSD) endpoint.
48        *
49        * @link http://cyber.law.harvard.edu/blogs/gems/tech/rsd.html
50         *
51        * @since 3.5.0
52        */
53       do_action( 'xmlrpc_rsd_apis' );
54       ?>
55     </apis>
56   </service>
57 </rsd>
58 <?php
59 exit;
60 }
61
62 include_once(ABSPATH . 'wp-admin/includes/admin.php');