Advertisement
Guest User

Untitled

a guest
Apr 26th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. //add to functions.php
  2. add_filter( 'xmlrpc_enabled', '__return_false' );
  3.  
  4. //add to .htaccess
  5. # Block WordPress xmlrpc.php requests
  6. <Files xmlrpc.php>
  7. order deny,allow
  8. deny from all
  9. </Files>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement