Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'xmlrpc_methods', 'remove_xmlrpc_methods');
- function remove_xmlrpc_methods( $methods ) {
- unset( $methods['system.multicall'] );
- unset( $methods['system.listMethods'] );
- unset( $methods['system.getCapabilities'] );
- return $methods;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement