wp_tiny_mce_init action-hook . WP 3.9.0
Fires after tinymce.js is loaded, but before any TinyMCE editor instances are created.
Usage
add_action( 'wp_tiny_mce_init', 'action_function_name_5150' ); function action_function_name_5150( $mce_settings ){ // action... }
- $mce_settings(array)
- TinyMCE settings array.
Changelog
Since 3.9.0 | Introduced. |
Where the hook is called
wp-includes/class-wp-editor.php 1649
do_action( 'wp_tiny_mce_init', self::$mce_settings );