• Resolved mickna

    (@mickna)


    Hi there,

    if I activate Code Snippets, I get a custom button in tinymce [<>]
    How can I disable this button?

    thank you,
    Michael

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Hi Michael,

    You can remove it like any other editor button:

    add_filter( 'mce_buttons', function ( $buttons ) {
        return array_diff( $buttons, array( 'code_snippets' ) );
    }, 15 );
    Thread Starter mickna

    (@mickna)

    Thank you Shea ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘disable snippets-button in tinymce?’ is closed to new replies.