docs-v2 icon indicating copy to clipboard operation
docs-v2 copied to clipboard

Documentation: Developer Guides: How namespaces work and how you should namespace your code

Open krogsgard opened this issue 8 years ago • 1 comments

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 avatar Sep 06 '16 21:09 krogsgard

@krogsgard What is needed here beyond what is mentioned in https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/#namespacing ?

kadamwhite avatar Feb 06 '17 20:02 kadamwhite