Create terms taxonomy field

Support MB REST API Create terms taxonomy fieldResolved

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #14025
    proyectohappyweb@gmail.com[email protected]
    Participant

    Hello,

    It's posible to create terms in the taxonomy or taxonomy advanced fields?

    Thanks,
    Sergio

    #14038
    Anh TranAnh Tran
    Keymaster

    Hi Sergio,

    We're working on this. There is some progress, but not good enough. We're trying to finish as soon as we can.

    #14046
    proyectohappyweb@gmail.com[email protected]
    Participant

    Perfect, many thanks!!!

    #14511
    proyectohappyweb@gmail.com[email protected]
    Participant

    Thanks for your update in the 4.18 version, to can create new taxonomies with the parameters 'add_new' => true.

    Can you hide this parameter? That only can create taxonomies for certain users or certain conditions?

    Thanks,
    Sergio

    #14513
    Anh TranAnh Tran
    Keymaster

    Hi Sergio,

    You can add condition to the parameter, like this:

    $can_add_new = current_user_can( 'manage_options' );
    
    // then in the field settings, set
    'add_new' => $can_add_new,
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.