option_enable_xmlrpc
Usage
add_filter( 'option_enable_xmlrpc', 'wp_kama_option_enable_xmlrpc_filter' ); /** * Function for `option_enable_xmlrpc` filter-hook. * * @param $true * * @return */ function wp_kama_option_enable_xmlrpc_filter( $true ){ // filter... return $true; }
- $true
- -
Where the hook is called
wp-includes/class-wp-xmlrpc-server.php 196
$is_enabled = apply_filters( 'option_enable_xmlrpc', true );