How to Disable XML-RPC in WordPress?

How to Disable XML-RPC in WordPress?

XML-RPC was a very useful feature of WordPress back in the 1990s. It allows site owners to remotely publish content to their site. With low internet speeds back in the day, users found it faster and easier to write their content offline and publish it all together...