before_wp_tiny_mce action-hookWP 3.2.0

Fires immediately before the TinyMCE settings are printed.

Usage

add_action( 'before_wp_tiny_mce', 'wp_kama_before_wp_tiny_mce_action' );

/**
 * Function for `before_wp_tiny_mce` action-hook.
 * 
 * @param array $mce_settings TinyMCE settings array.
 *
 * @return void
 */
function wp_kama_before_wp_tiny_mce_action( $mce_settings ){

	// action...
}
$mce_settings(array)
TinyMCE settings array.

Changelog

Since 3.2.0 Introduced.

Where the hook is called

_WP_Editors::editor_js()
before_wp_tiny_mce
wp-includes/class-wp-editor.php 1610
do_action( 'before_wp_tiny_mce', self::$mce_settings );

Where the hook is used in WordPress

Usage not found.