Example #1
0
/**
 * @since 2.7.0
 * @deprecated 3.3
 * @deprecated Use nxt_editor()
 * @see nxt_editor()
 */
function nxt_tiny_mce($teeny = false, $settings = false)
{
    _deprecated_function(__FUNCTION__, '3.3', 'nxt_editor()');
    static $num = 1;
    if (!class_exists('_nxt_Editors')) {
        require_once ABSPATH . nxtINC . '/class-nxt-editor.php';
    }
    $editor_id = 'content' . $num++;
    $set = array('teeny' => $teeny, 'tinymce' => $settings ? $settings : true, 'quicktags' => false);
    $set = _nxt_Editors::parse_settings($editor_id, $set);
    _nxt_Editors::editor_settings($editor_id, $set);
}