wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



mce_buttons › WordPress Filter Hooks

Seit3.3.0
Veraltetn/v
apply_filters( 'mce_buttons', $mce_buttons, $editor_id )
Parameter: (2)
  • (array) $mce_buttons First-row list of buttons.
    Erforderlich: Ja
  • (string) $editor_id Unique editor identifier, e.g. 'content'. Accepts 'classic-block' when called from block editor's Classic block.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the first-row list of TinyMCE buttons (Visual tab).





Quellcode

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