xmlrpc_chunk_parsing_size
Filters the chunk size that can be used to parse an XML-RPC response message.
Usage
add_filter( 'xmlrpc_chunk_parsing_size', 'wp_kama_xmlrpc_chunk_parsing_size_filter' ); /** * Function for `xmlrpc_chunk_parsing_size` filter-hook. * * @param int $chunk_size Chunk size to parse in bytes. * * @return int */ function wp_kama_xmlrpc_chunk_parsing_size_filter( $chunk_size ){ // filter... return $chunk_size; }
- $chunk_size(int)
- Chunk size to parse in bytes.
Changelog
Since 4.4.0 | Introduced. |
Where the hook is called
xmlrpc_chunk_parsing_size
wp-includes/IXR/class-IXR-message.php 110
$chunk_size = apply_filters( 'xmlrpc_chunk_parsing_size', $chunk_size );