WP REST API

Support General WP REST API

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #3190
    MemaddogMemaddog
    Participant

    Are Meta Box fields supported by the official WordPress REST API? I see they have a plugin to support ACF, which suggests something extra is needed for custom fields, but I haven't found anything regarding Meta Box. The default JSON response does not appear to include any custom meta fields - only the WP post/page basics.

    #3194
    Anh TranAnh Tran
    Keymaster

    It's not supported at the moment. We have an issue on Github and will work on that 🙂

    #3195
    MemaddogMemaddog
    Participant

    Awesome. Thanks! Do you have any idea when I might hope to see a solution?

    #3209
    Anh TranAnh Tran
    Keymaster

    I'm not sure, probably in 4.10. We're working on optimization the plugin 4.9 and after that we will work with the REST API.

    #3237
    MemaddogMemaddog
    Participant

    In the meantime, in case anyone else needs this before the official solution is available, I did discover that there is some built-in options already for custom fields. http://v2.wp-api.org/extending/modifying/

    A tremendously helpful video I found to at least keep my work moving forward was this: https://youtu.be/GN4YMbC_QJU?list=PLUBR53Dw-Ef89Q4rZJNqGfwFsUb3Nkn18

    #3379
    Anh TranAnh Tran
    Keymaster

    This is done as a standalone plugin here https://github.com/rilwis/mb-rest-api. Will be soon available on WordPress.org.

    #3415
    Anh TranAnh Tran
    Keymaster

    It's now available on wordpress.org: https://wordpress.org/plugins/mb-rest-api/

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘WP REST API’ is closed to new replies.