开发者 | barrykooij |
---|---|
更新时间 | 2013年12月11日 00:17 |
捐献地址: | 去捐款 |
PHP版本: | 3.1 及以上 |
WordPress版本: | 3.7.1 |
版权: | GPL v3 |
版权网址: | 版权信息 |
wp-simple-web-services
to the /wp-content/plugins/
directoryFor WP Simple Web Service to work you have to have your permalinks structure set to /%postname%/, also make sure you .htaccess file is writable.
At this moment the WP Simple Web Service plugin only provides REST JSON GET calls out of the box.
Yes, it does.
Yes, it does.
Yes, you can. WP Simple Web Service accepts all query vars you can pass to WP_Query, you can add them to the web service request by adding them in the qv GET variable. For example, limiting the result set to 10 results can be done by adding &qv[posts_per_page]=10
to the request URL.
Yes, you can. Simply add an action to wpsws_webservice_YOUR-WEB-SERVICE and replace 'YOUR-WEB-SERVICE' with your own web service name. This webservice will now be called when you visit URL/webservice/YOUR-WEB-SERVICE/
Of course! Simply hook into 'wpsws_general_settings' and display your custom settings.