WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
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.
Line | Code |
---|---|
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 |
46 | /** |
47 | * Add additional APIs to the Really Simple Discovery (RSD) endpoint. |
48 | * |
49 | * @see http://cyber.law.harvard.edu/blogs/gems/tech/rsd.html |
50 | * @since 3.5.0 |
51 | */ |
52 | do_action( 'xmlrpc_rsd_apis' ); |
53 | ?> |
54 | </apis> |
55 | </service> |
56 | </rsd> |
57 | <?php |
58 | exit; |
59 | } |
60 |
|
61 | include_once(ABSPATH . 'wp-admin/includes/admin.php'); |