Title: wp_tiny_mce_init
Published: April 25, 2014
Last modified: April 28, 2025

---

# do_action( ‘wp_tiny_mce_init’, array $mce_settings )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/wp_tiny_mce_init/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/wp_tiny_mce_init/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/wp_tiny_mce_init/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/wp_tiny_mce_init/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/wp_tiny_mce_init/?output_format=md#wp--skip-link--target)

Fires after tinymce.js is loaded, but before any TinyMCE editor instances are created.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/wp_tiny_mce_init/?output_format=md#parameters)󠁿

 `$mce_settings`array

TinyMCE settings array.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/wp_tiny_mce_init/?output_format=md#source)󠁿

    ```php
    do_action( 'wp_tiny_mce_init', self::$mce_settings );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/class-wp-editor.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-includes/class-wp-editor.php#L1659)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/class-wp-editor.php#L1659-L1659)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/wp_tiny_mce_init/?output_format=md#related)󠁿

| Used by | Description | 
| [_WP_Editors::editor_js()](https://developer.wordpress.org/reference/classes/_wp_editors/editor_js/)`wp-includes/class-wp-editor.php` |

Print (output) the TinyMCE configuration and initialization scripts.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/wp_tiny_mce_init/?output_format=md#changelog)󠁿

| Version | Description | 
| [3.9.0](https://developer.wordpress.org/reference/since/3.9.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fwp_tiny_mce_init%2F)
before being able to contribute a note or feedback.