You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, in this case, the reason the schema argument appears "outside" of the endpoint arrays is because multiple endpoint arrays are being registered for this route.
The text was updated successfully, but these errors were encountered:
In the handbook page on Controller Classes the example code has an error in the register_rest_route function calls.
This example code was likely adapted from real world implementations in WordPress Core, for example the Posts Controller
However, in this case, the reason the schema argument appears "outside" of the endpoint arrays is because multiple endpoint arrays are being registered for this route.
The text was updated successfully, but these errors were encountered: