我发现您可以通过此属性手动设置可用性按钮theme_advanced_buttons1
(用于第1行的按钮)
示例:
function disable_mce_buttons( $opt ) {
//set button that will be show in row 1
$opt[\'theme_advanced_buttons1\'] = \'bold,italic,strikethrough,|,bullist,numlist,blockquote,|,justifyleft,justifycenter,justifyright,|,link,unlink,wp_more,|,spellchecker,wp_fullscreen,wp_adv,separator\';
return $opt;
}
add_filter(\'tiny_mce_before_init\', \'disable_mce_buttons\');