How to Get and Update WordPress Custom Fields via REST API | Meta Box
Вставка
- Опубліковано 19 жов 2024
- This video shows you how to get and update WordPress custom fields via REST API using Meta Box and MB REST API plugins.
See details: metabox.io/plu...
the music is such wordpress dev vibes
so, you like it or don't like?
Thanks for developed this useful plugin and provide such a comprehensive user guide!
Can we change just one custom field value? Or always full meta_box value?
Could you also paste the sample request here as it's hard to read from this video?
could we create a custom post (included custom fields) from Metabox Rest API?
No. We can not do that.
How can I upload user avatar using the Metabox Rest API?
Thanks for your question. MB REST API just allows you to set the user avatar. If you want to upload it, you need to use WordPress REST API. These are some links you can refer to:
stackoverflow.com/questions/37432114/wp-rest-api-upload-image
rudrastyh.com/wordpress/upload-featured-image-rest-api.html
@@MetaBoxWPThank you. Let me have a look.
CRUD is not possible over the API?
It is. PUT,GET and DELETE requests are used