wp_tiny_mce

The timeline below displays how wordpress function wp_tiny_mce has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 5.5

/**
 * Outputs the TinyMCE editor.
 *
 * @since 2.7.0
 * @deprecated 3.3.0 Use wp_editor()
 * @see wp_editor()
 */
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);
}

WordPress Version: 4.6

/**
 * Outputs the TinyMCE editor.
 *
 * @since 2.7.0
 * @deprecated 3.3.0 Use wp_editor()
 * @see wp_editor()
 *
 * @staticvar int $num
 */
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);
}

WordPress Version: 4.4

/**
 * Outputs the TinyMCE editor.
 *
 * @since 2.7.0
 * @deprecated 3.3.0 Use wp_editor()
 * @see wp_editor()
 *
 * @staticvar int $num
 */
function wp_tiny_mce($teeny = false, $settings = false)
{
    _deprecated_function(__FUNCTION__, '3.3', '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);
}

WordPress Version: 4.3

/**
 * @since 2.7.0
 * @deprecated 3.3.0
 * @deprecated Use wp_editor()
 * @see wp_editor()
 *
 * @staticvar int $num
 */
function wp_tiny_mce($teeny = false, $settings = false)
{
    _deprecated_function(__FUNCTION__, '3.3', 'wp_editor()');
    static $num = 1;
    if (!class_exists('_WP_Editors')) {
        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);
}

WordPress Version: 3.7

/**
 * @since 2.7.0
 * @deprecated 3.3.0
 * @deprecated Use wp_editor()
 * @see wp_editor()
 */
function wp_tiny_mce($teeny = false, $settings = false)
{
    _deprecated_function(__FUNCTION__, '3.3', 'wp_editor()');
    static $num = 1;
    if (!class_exists('_WP_Editors')) {
        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);
}