Deprecated
This function has been deprecated. This is no longer required as of upload field introduction instead.
ap_tinymce_editor_settings( $type = 'question' )
Description #
TinyMCE editor setting
Changelog #
Source #
File: includes/deprecated.php
function ap_tinymce_editor_settings( $type = 'question' ) { _deprecated_function( __FUNCTION__, '4.1.0', 'This is no longer required as of upload field introduction.' ); $setting = array( 'textarea_rows' => 8, 'tinymce' => ap_opt( $type . '_text_editor' ) ? false : true, 'quicktags' => ap_opt( $type . '_text_editor' ) ? true : false, 'media_buttons' => false, ); if ( ap_opt( $type . '_text_editor' ) ) { $settings['tinymce'] = array( 'content_css' => ap_get_theme_url( 'css/editor.css' ), 'wp_autoresize_on' => true, 'statusbar' => false, ); } return apply_filters( 'ap_tinymce_editor_settings', $setting, $type ); }
Expand full source code Collapse full source code View on GitHub: includes/deprecated.php:549
Add your comment