Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to remove / restrict access to the entire wp-json API and custom namespaces, not just posts within the wp/v2 namespace #42

Open
rfair404 opened this issue Dec 5, 2018 · 1 comment

Comments

@rfair404
Copy link

rfair404 commented Dec 5, 2018

Thank you for this plugin: it is helpful in limiting access to the API as described. I'm wondering if you can add the ability to restrict access the top level API endpoint wp-json as well as custom namespaces registered by plugins like: yoast/v1 (created by Yoast SEO), wordpress-popular-posts/v1 (created by WPPP), and other similar namespaced routes.

Thanks!

@petenelson
Copy link
Owner

It may be possible to restrict access to custom namespaces, though it may cause unintended consequences to do so, so it would be something you'd use at your own risk. I'll take a look at it in a future release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants