‘Disable oEmbed’ still shows API route
-
Just reporting that your code for disabling oEmbed doesn’t quite work. The links are removed from Head, among other things. But the oembed/1.0 route is still exposed. Pascal Birchler‘s plugin, by contrast, also disables the REST API route, so it’s probably easiest to just copy his code here.
But your plugin has been extremely helpful even without this functionality!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.