docs-v2
docs-v2 copied to clipboard
Documentation: Developer Guides: How namespaces work and how you should namespace your code
Explain where, when, and how to namespace custom code. Should you use /wp/ namespace? Should you add your own for your plugin, a la /rcp/? How do you decide, and what is best practice?
We might should include versioning best practice here as well. Might as well get folks to do both at once.
@krogsgard What is needed here beyond what is mentioned in https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/#namespacing ?