开发者 |
amarilindra
ikvaesolutions |
---|---|
更新时间 | 2022年9月21日 16:26 |
捐献地址: | 去捐款 |
PHP版本: | 5.2.4+ 及以上 |
WordPress版本: | 6.0.2 |
版权: | GPLv2 or later |
WP REST API Customizer
without quotes in search box.Activate Plugin
.wp-rest-api-customizer
folder to the /wp-content/plugins/
directoryNo, you should not uncheck everything without understanding their actual usage. Few of them might be used by your theme, other plugins are even your app.
By enabling it, you created a new route. Send a GET request to https://www.geekdashboard.com/wp-json/wp-rest-api-customizer/url-to-id and add your post url in header with key 'url'
Yes, it is completely safe. But make sure you enabled comment moderation in WordPress settings -> Discussion to prevent spam comments.
It depends on your requirements. Assume you're showing 20 recent posts with title and feature image in your Android application. By addig featured image url's to JSON object, you're saving 20 requests and ultimately saving user's data, your site bandwidth and improving app performance. Presto!
Currently our plugin didn't support creating own routes. We are planning it in next updates. However if you need a custom router which is useful to others (like gettig post id from post url), ask us via support. We'll add it and update the plugin.
You can get in touch with from our blog or contact us page and we'll have a discussion.