wp_tiny_mce() – Outputs the TinyMCE editor.

You appear to be a bot. Output may be restricted

Description

Outputs the TinyMCE editor.

Usage

wp_tiny_mce( $teeny, $settings );

Parameters

$teeny
( mixed ) optional
$settings
( mixed ) optional

Returns

void

Source

File name: wordpress/wp-admin/includes/deprecated.php
Lines:

1 to 19 of 19
function wp_tiny_mce( $teeny = false, $settings = false ) {
  _deprecated_function( wp_tiny_mce, '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::_WP_Editors::parse_settings($editor_id, $set);
  _WP_Editors::_WP_Editors::editor_settings($editor_id, $set);
}
 

 View on GitHub View on Trac