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 |
---|---|
222 | return false; |
223 | } |
224 | if ( ! in_array( $root_tag, array( '<methodCall', '<methodResponse', '<fault' ) ) ) { |
225 | return false; |
226 | } |
227 |
|
228 | // Bail if there are too many elements to parse |
229 | $element_limit = 30000; |
230 | if ( function_exists( 'apply_filters' ) ) { |
231 | $element_limit = apply_filters( 'xmlrpc_element_limit', $element_limit ); |
232 | } |
233 | if ( $element_limit && 2 * $element_limit < substr_count( $this->message, '<' ) ) { |
234 | return false; |
235 | } |
236 |
|
237 | $this->_parser = xml_parser_create(); |
238 | // Set XML parser to take the case of tags in to account |
239 | xml_parser_set_option($this->_parser, XML_OPTION_CASE_FOLDING, false); |
240 | // Set XML parser callback functions |