Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter angeljs

    (@angeljs)

    Okay, managed to find the answer, in case anyone else is looking for this. Just add the following code to your functions file:

    function my_mce_buttons( $buttons ) {
    	$index = array_search( 'WPTS', $buttons );
    	if ( $index !== false ) { unset( $buttons[$index] ); }
    
    	return $buttons;
    }
    add_filter( 'mce_buttons', 'my_mce_buttons' );

    Hello @angeljs

    Great! It is working for you and sharing code with us.

    Best Regards,
    Sagar.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove icon from HTML editor’ is closed to new replies.