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

Filters the teenyMCE config before init.


Parameters

$mce_init 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 all references

$mce_init = apply_filters( 'teeny_mce_before_init', $mce_init, $editor_id );


Top ↑

Changelog

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

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.