Disable WordPress REST API
This free source code snippet is very simple and uses the WordPress rest_authentication_errors filter to completely disable the WordPress REST API. What happens here is simply that any request to…
This free source code snippet is very simple and uses the WordPress rest_authentication_errors filter to completely disable the WordPress REST API. What happens here is simply that any request to…