wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
wp_tiny_mce is deprecated since version 3.3.0!
Alternative: Ver página de detalhe para wp_editor »" href="https://pt.wpseek.com/function/wp_editor/">wp_editor()
Alternative: Ver página de detalhe para wp_editor »" href="https://pt.wpseek.com/function/wp_editor/">wp_editor()
wp_tiny_mce › WordPress Function
Desde2.7.0
Obsoleto3.3.0
› wp_tiny_mce ( $teeny = false, $settings = false )
| Ver: | |
| Definido em: |
|
| Codex: |
Outputs the TinyMCE editor.
Fonte
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);
}