wphooks.info - teeny_mce_before_init

teeny_mce_before_init

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/class-wp-editor.php:
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
			if ( $set['teeny'] ) {

				/**
				 * Filters the teenyMCE config before init.
				 *
				 * @since 2.7.0
				 *
				 * @param array  $mceInit   An array with teenyMCE config.
				 * @param string $editor_id Unique editor identifier, e.g. 'content'.
				 */
				$mceInit = apply_filters( 'teeny_mce_before_init', $mceInit, $editor_id );
			} else {

				/**
				 * Filters the TinyMCE config before init.
				 *
				 * @since 2.5.0
				 *
				 * @param array  $mceInit   An array with TinyMCE config.
				 * @param string $editor_id Unique editor identifier, e.g. 'content'.