Skip to content
This repository was archived by the owner on Aug 15, 2022. It is now read-only.

Commit 17ee130

Browse files
committedJun 9, 2016
Add statuses to the things left out.
Post statuses should be fetched from the API in a real plugin. However, it would clutter up the code a bit more here, so I'm leaving it out for now.
1 parent 7de57ef commit 17ee130

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,13 @@ dynamically load more as you scroll.
7979
I didn't add this because I wanted to focus the code on the initial API calls, and
8080
folks will likely want to implement pagination in their own way.
8181

82+
#### Post Statuses
83+
84+
There's actually a [REST API call to get the list of possible Statuses.](http://v2.wp-api.org/reference/statuses/)
85+
However, this would clutter up the example more, without really adding much
86+
functionality. However, If I were to do something like this in a real plugin,
87+
I would definitely fetch the statuses before using them.
88+
8289
#### Minifying
8390

8491
For a real plugin, you'll want to [minify](https://en.wikipedia.org/wiki/Minification_(programming))

0 commit comments

Comments
 (0)
This repository has been archived.