Skip to content

Commit 977b480

Browse files
authored
Merge pull request #116 from andrewl64/patch-1
Update adding-custom-endpoints.md
2 parents 9a10cab + 2d34da4 commit 977b480

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extending-the-rest-api/adding-custom-endpoints.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The WordPress REST API is more than just a set of default routes. It is also a tool for creating custom routes and endpoints. The WordPress front-end provides a default set of URL mappings, but the tools used to create them (e.g. the Rewrites API, as well as the query classes: `WP_Query`, `WP_User`, etc) are also available for creating your own URL mappings, or custom queries.
44

5-
This document details how to create a totally custom route, with its own endpoints. We'll first work through a short example, then expand it out to the full controller pattern as used internally.
5+
This document details how to create a new and completely custom route with its own endpoints. We'll first work through a short example and then expand it out to the full controller pattern as used internally.
66

77

88
## Bare Basics

0 commit comments

Comments
 (0)