WordPress at Your Fingertips
filter is not described

teeny_mce_before_init filter-hook . WP 2.7.0

Filters the teenyMCE config before init.


add_filter( 'teeny_mce_before_init', 'filter_function_name_9703', 10, 2 );
function filter_function_name_9703( $mceInit, $editor_id ){
	// filter...

	return $mceInit;
An array with teenyMCE config.
Unique editor identifier, e.g. 'content'.


Since 2.7.0 Introduced.
Since 3.3.0 The $editor_id parameter was added.

Where the hook is called

wp-includes/class-wp-editor.php 793
$mceInit = apply_filters( 'teeny_mce_before_init', $mceInit, $editor_id );

Where in WP core the hook is used WordPress

wp-includes/default-filters.php 274
add_filter( 'teeny_mce_before_init', '_mce_set_direction' );