WordPress REST API still exposing users

Posted by Prem Tiwari | Updated on

Use this code snippet it will hide the users list and give 404 as the result, while rest of the api calls keep running as they were.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers