Remove the REST API Link from WordPress Head
WordPress adds a REST API discovery link to every page’s HTML head. It reveals your API endpoint to anyone. Here’s how to remove it while keeping the API working.
WordPress adds a REST API discovery link to every page’s HTML head. It reveals your API endpoint to anyone. Here’s how to remove it while keeping the API working.