Timeline for Validate rest-api call on create
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 5, 2021 at 11:55 | comment | added | Sally CJ |
It's because the REST API handbook says, "Do not place anything into the wp namespace unless you are making endpoints with the intention of merging them into core.".. :) And personally, I thought using your own namespace would better remind you that it's your custom route.. specifically custom routes like one that handle custom form submissions.
|
|
Jun 5, 2021 at 11:08 | vote | accept | Zeth | ||
Jun 5, 2021 at 11:08 | comment | added | Zeth |
Awesome! Can I get you to throw in a line or two about, why it's important that I register my own namespace and not use wp/v2 ? What can go wrong, if wp/v2 is used?
|
|
Jun 5, 2021 at 11:00 | history | edited | Sally CJ | CC BY-SA 4.0 |
deleted 42 characters in body
|
Jun 5, 2021 at 10:54 | history | answered | Sally CJ | CC BY-SA 4.0 |