Custom Fields
Re-Envisioned
Support MB REST API Create terms taxonomy field

This topic contains 4 replies, has 2 voices, and was last updated by  Anh Tran 1 month ago.

  • Creator
    Topic
  • #14025
    Resolved
    proyectohappyweb@gmail.com
    Participant

    Hello,

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

    Thanks,
    Sergio

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #14038

    Anh 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

    Perfect, many thanks!!!

    #14511

    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 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 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.