mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-04-29 11:32:21 +08:00
Disable XML-RPC methods that require authentication. https://developer.wordpress.org/reference/hooks/xmlrpc_enabled/
1 line
50 B
Text
1 line
50 B
Text
add_filter( 'xmlrpc_enabled', '__return_false' );
|