teeny_mce_before_init WordPress Filter Hook

This hook is called before the teeny-mce editor is initialised. It can be used to add custom buttons or plugins to the editor.

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'.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.3.0The $editor_id parameter was added.
2.7.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.