Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wp_editor( $content, $id, array(
- 'remove_linebreaks' => false,
- 'wpautop' => $wpautop,
- 'media_buttons' => $media_buttons,
- 'textarea_name' => $textarea_name,
- 'textarea_rows' => $rows,
- 'tinymce' => array(
- 'theme_advanced_buttons1' => 'bold,italic,underline,|,' . 'bullist,numlist,blockquote,|,' . 'link,unlink,|,' . 'image,code,|,'. 'spellchecker,wp_fullscreen,dwqaCodeEmbed,|,',
- 'theme_advanced_buttons2' => '',
- 'content_css' => apply_filters( 'dwqa_editor_style', DWQA_URI . 'assets/css/tinymce.css' ),
- ),
- 'quicktags' => true,
- ) );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement