tiny_mce_before_init

Advertisement

Summery Summery

Filters the TinyMCE config before init.

Syntax Syntax

apply_filters( 'tiny_mce_before_init', array $mceInit, string $editor_id )

Parameters Parameters

$mceInit

An array with TinyMCE config.

$editor_id

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.5.0 Introduced.

Advertisement

Leave a Reply