mce_buttons

Advertisement

Summery Summery

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

Syntax Syntax

apply_filters( 'mce_buttons', array $mce_buttons, string $editor_id )

Parameters Parameters

$mce_buttons

(array) First-row list of buttons.

$editor_id

(string) Unique editor identifier, e.g. 'content'. Accepts 'classic-block' when called from block editor's Classic block.

Source Source

File: wp-includes/class-wp-editor.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.3.0 The $editor_id parameter was added.
2.0.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.