Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    It is very complicated to see if the editor is from wp or inside woocommerce.

    Is there any way to distinguish where or when you want the button to show up and when not; like user role or something else, so i could create a setting switch?

    btw: are we talking about the oldstyle editor or the gutenberg blockeditor?

    Thread Starter likewppa

    (@likewppa)

    woocommerce use oldstyle editor.

    create a setting switch with user role is my mean.

    Because in many cases it may be a multi-user mall, this is indeed a more complicated setup, but it is also very practical

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Will be implemented in the next version.

    A multi selectionbox with all available roles, if the user has a role that permits it, it will be available. Default: all roles.

    Thread Starter likewppa

    (@likewppa)

    thanks. great wppa.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Fixed 8.3.03

    From the changelog:

    New setting: Advanced settings -> System -> I -> Item 48: Show shortcode generators. Multi selectionbox for userroles that will see the shortcode hgenerator buttons in editors.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘how to remove shortcode button in woocommerce visual editor’ is closed to new replies.