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 |
---|---|
25 | <service> |
26 | <engineName>WordPress</engineName> |
27 | <engineLink>http://wordpress.org/</engineLink> |
28 | <homePageLink><?php bloginfo_rss('url') ?></homePageLink> |
29 | <apis> |
30 | <api name="WordPress" blogID="1" preferred="true" apiLink="<?php bloginfo_rss('wpurl') ?>/xmlrpc.php" /> |
31 | <api name="Movable Type" blogID="1" preferred="false" apiLink="<?php bloginfo_rss('wpurl') ?>/xmlrpc.php" /> |
32 | <api name="MetaWeblog" blogID="1" preferred="false" apiLink="<?php bloginfo_rss('wpurl') ?>/xmlrpc.php" /> |
33 | <api name="Blogger" blogID="1" preferred="false" apiLink="<?php bloginfo_rss('wpurl') ?>/xmlrpc.php" /> |
34 | <api name="Atom" blogID="" preferred="false" apiLink="<?php echo apply_filters('atom_service_url', (get_bloginfo('url')."/wp-app.php/service"))?>" /> |
35 | </apis> |
36 | </service> |
37 | </rsd> |
38 | <?php |
39 | exit; |
40 | } |
41 |
|
42 | include_once(ABSPATH . 'wp-admin/includes/admin.php'); |
43 | include_once(ABSPATH . WPINC . '/class-IXR.php'); |