disable adding new tags for vendor role from his dashboard

WCMp Core

Resolved
Viewing 4 reply threads
  • Author
    Posts
    • #135454
      l.gan
      Participant

      Hello
      please help me, how can i disable adding new tags for vendor role from his dashboard.

      The vendor should be able to choose only what the administrator offers him.

    • #135470

      @l.gan, In order to disable tag, add this code in the function.php of the theme :

      add_filter('wcmp_vendor_can_add_product_tag', '__return_false');
      Copy
    • #135485
      l.gan
      Participant

      Hello!

      I asked to limit the addition of new tags. But the function of selecting tags from those that I have already added should remain.

      I need the vendor to be able to select tags from those already available, but not be able to add their own tag.

      As far as I understand – now this function completely disables the use of tags for the vendor?

    • #135487
      l.gan
      Participant

      everything works as it should, thanks

    • #135507

      Great to know it is working fine.

Viewing 4 reply threads

The topic ‘disable adding new tags for vendor role from his dashboard’ is closed to new replies.