W3cubDocs

/WordPress

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

Filters the teenyMCE config before init.

Parameters

$mceInit

(array) An array with teenyMCE config.

$editor_id

(string) Unique editor identifier, e.g. 'content'.

Source

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

View on Trac

Changelog

Version Description
3.3.0 The $editor_id parameter was added.
2.7.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/teeny_mce_before_init