描述
Since all of WordPress core needs to benefit from the REST API, it makes sense that the most common of all WordPress plugins, Hello Dolly should also have a RESTful endpoint.
安裝
- Upload
/restful-hello-dolly/
folder to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Access the endpoint here: /wp-json/restful-hello-dolly/v1/lyric
常見問題
- Is this totally useless?
-
No more then a RESTful file editor.
- What about create, update, and delete?
-
Sorry, this plugin is limited in scope, and we don’t want to railroad the features for petty things that most users don’t need. Better to release quickly, so that we can gain wider adoption.
貢獻者及開發者
修改日誌
0.5
- Let’s get this going.