Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: wp_xmlrpc_server_class

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
96 }
97
98 if ( isset($HTTP_RAW_POST_DATA) )
99      logIO("I", $HTTP_RAW_POST_DATA);
100
101 // Make sure wp_die output is XML
102 add_filter( 'wp_die_handler', '_xmlrpc_wp_die_filter' );
103
104 // Allow for a plugin to insert a different class to handle requests.
105 $wp_xmlrpc_server_class = apply_filters('wp_xmlrpc_server_class', 'wp_xmlrpc_server');
106 $wp_xmlrpc_server = new $wp_xmlrpc_server_class;
107
108 // Fire off the request
109 $wp_xmlrpc_server->serve_request();
110 ?>