xmlrpc_blog_options
Filters the XML-RPC blog options property.
Usage
add_filter( 'xmlrpc_blog_options', 'wp_kama_xmlrpc_blog_options_filter' ); /** * Function for `xmlrpc_blog_options` filter-hook. * * @param array $blog_options An array of XML-RPC blog options. * * @return array */ function wp_kama_xmlrpc_blog_options_filter( $blog_options ){ // filter... return $blog_options; }
- $blog_options(array)
- An array of XML-RPC blog options.
Changelog
Since 2.6.0 | Introduced. |
Where the hook is called
xmlrpc_blog_options
wp-includes/class-wp-xmlrpc-server.php 679
$this->blog_options = apply_filters( 'xmlrpc_blog_options', $this->blog_options );