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

---

# wp_tiny_mce( $teeny = false,  $settings = false )

## In this article

 * [Description](https://developer.wordpress.org/reference/functions/wp_tiny_mce/?output_format=md#description)
    - [See also](https://developer.wordpress.org/reference/functions/wp_tiny_mce/?output_format=md#see-also)
 * [Source](https://developer.wordpress.org/reference/functions/wp_tiny_mce/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/functions/wp_tiny_mce/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/functions/wp_tiny_mce/?output_format=md#changelog)

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

This function has been deprecated since 3.3.0. Use [wp_editor()](https://developer.wordpress.org/reference/functions/wp_editor/)
instead.

Outputs the TinyMCE editor.

## 󠀁[Description](https://developer.wordpress.org/reference/functions/wp_tiny_mce/?output_format=md#description)󠁿

### 󠀁[See also](https://developer.wordpress.org/reference/functions/wp_tiny_mce/?output_format=md#see-also)󠁿

 * [wp_editor()](https://developer.wordpress.org/reference/functions/wp_editor/)

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

    ```php
    function wp_tiny_mce( $teeny = false, $settings = false ) {
    	_deprecated_function( __FUNCTION__, '3.3.0', 'wp_editor()' );

    	static $num = 1;

    	if ( ! class_exists( '_WP_Editors', false ) )
    		require_once ABSPATH . WPINC . '/class-wp-editor.php';

    	$editor_id = 'content' . $num++;

    	$set = array(
    		'teeny' => $teeny,
    		'tinymce' => $settings ? $settings : true,
    		'quicktags' => false
    	);

    	$set = _WP_Editors::parse_settings($editor_id, $set);
    	_WP_Editors::editor_settings($editor_id, $set);
    }
    ```

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

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

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

Parse default arguments for the editor instance.

  | 
| [_deprecated_function()](https://developer.wordpress.org/reference/functions/_deprecated_function/)`wp-includes/functions.php` |

Marks a function as deprecated and inform when it has been used.

  |

[Show 1 more](https://developer.wordpress.org/reference/functions/wp_tiny_mce/?output_format=md#)
[Show less](https://developer.wordpress.org/reference/functions/wp_tiny_mce/?output_format=md#)

| Used by | Description | 
| [tinymce_include()](https://developer.wordpress.org/reference/functions/tinymce_include/)`wp-admin/includes/deprecated.php` |  |

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

| Version | Description | 
| [3.3.0](https://developer.wordpress.org/reference/since/3.3.0/) | Deprecated. Use [wp_editor()](https://developer.wordpress.org/reference/functions/wp_editor/)  | 
| [2.7.0](https://developer.wordpress.org/reference/since/2.7.0/) | Introduced. |

## User Contributed Notes

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