custom meta field for custom Taxonomies

Support MB REST API custom meta field for custom TaxonomiesResolved

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #16834
    zhenglczhenglc
    Participant

    I add some meta for new Taxonomies,
    but they are not display on meta_box of API,

    https://gzyebu.case.17uhui.com.cn/wp-json/wp/v2/product_cat

    #16839
    zhenglczhenglc
    Participant

    class-mb-rest-api.php

    
    function get_term_meta( $object ) {
            $output = array(); 
            if ( ! class_exists( 'MB_Term_Meta_Box' ) ) {
                return $output;
            }
    
    

    var_dump( class_exists( 'MB_Term_Meta_Box' ) ) is false

    and sure the term meta is enable

    #16840
    zhenglczhenglc
    Participant

    use this meta-box-aio-1.10.5.zip

    #16846
    Anh TranAnh Tran
    Keymaster

    Thanks. I've fixed in the latest version. Please update.

    #17286
    zhenglczhenglc
    Participant

    hi,

    comment custom meta no showing on the reset api? please help..

    #17311
    Anh TranAnh Tran
    Keymaster

    Comment meta is not supported yet in the Rest API. I'll add that in the next version.

    #17495
    Anh TranAnh Tran
    Keymaster

    Hi zhenglc,

    Comment meta is now supported in version 1.4.0. Please update. If you're using AIO, please wait, we'll update it in a few days.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.