Skip to content

Commit be5eddd

Browse files
committed
Update final URL to point to new docs site
1 parent b9cb501 commit be5eddd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ wp.media()
549549

550550
## Custom Routes
551551

552-
Support for Custom Post Types is provided via the `.registerRoute` method. This method returns a handler function which can be assigned to your site instance as a method, and takes the [same namespace and route string arguments as `rest_register_route`](http://v2.wp-api.org/extending/adding/#bare-basics):
552+
Support for Custom Post Types is provided via the `.registerRoute` method. This method returns a handler function which can be assigned to your site instance as a method, and takes the [same namespace and route string arguments as `rest_register_route`](https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/):
553553

554554
```js
555555
var site = new WPAPI({ endpoint: 'http://www.yoursite.com/wp-json' });

0 commit comments

Comments
 (0)