teeny_mce_buttons

过滤钩子


apply_filters( 'teeny_mce_buttons', $mce_buttons, $editor_id )
参数
  • (array)
    $mce_buttons
    An array of teenyMCE buttons.
    Required:
  • (string)
    $editor_id
    Unique editor identifier, e.g. ‘content’.
    Required:
定义位置
  • wp-includes/class-wp-editor.php
    , line 628
引入
3.3.0
弃用

Filters the list of teenyMCE buttons (Text tab).

$mce_buttons   = apply_filters( 'teeny_mce_buttons', $mce_buttons, $editor_id );