I was hunting for a way to do this, and no-one seems to mention the wp_editor_settings filter.
This worked for me:
function my_editor_settings($settings) {
$settings['quicktags'] = false;
return $settings;
}
add_filter('wp_editor_settings', 'my_editor_settings');
Related Posts:
- Is there a hook to put stylesheet and/or JS inside iframes (thickbox or tinyMCE) in admin area
- Post editor is 89953px tall. How to fix?
- WordPress wraps span tags into p tags
- TinyMCE buttons broken
- WordPress 4.5 Inline Link Toolbar not working on custom wp_editor instance
- CSS Styles specific to Admin Sidebar not loading
- how to know if admin is in edit page or post [duplicate]
- Admin: very slow edit page caused by core meta query
- Editor Styles and Typekit
- Are there any action like ‘init_frontend’
- WordPress admin screen very slow / timing out when editing or adding a new page/custom post
- A similar hook as wp_head for the admin area
- Possible to create placeholder images in WordPress editor that are clickable (should bring up uploader)?
- How to retain HTML5 Attributes on Markup
- TinyMCE editor – new lines not rendered on front end
- How to Remove the “Restore” Link in Quick Edit?
- Use latest jQuery in WordPress (admin interface)
- Add table controls with wp_editor minimal editor configuration (‘teeny’)
- TinyMCE Plugin Parameter
- Adding markup to column text in “Edit Pages” admin page
- WYSIWYG – Getting the “link” button from HTML mode in Visual mode
- Disable WP Editor for specific page templates
- Manage users custom column add class “num”
- How to restrict the editors from viewing/editing pages created by admin?
- TinyMCE as comment editor – encoding issues
- Custom Thickbox Broken on Dashboard Page?
- How to set default editor tab
- Adding html format on tinymce visual editor
- Make the Status, Visibility, or Date fields opened by default in the Publish box
- Where should I hook into admin?
- How do you set up a WordPress blog with multiple authors to allow something like StackExchange’s “community wiki” feature?
- Problems with WP_List_Table and hooks
- Is it possible to disable the image alignment options in the post editor?
- Editors change a permalink on an unpublished post, but only admins change a permalink on a post that has ever been published?
- How to dynamically generate wordpress editor on frontend?
- Change syntax styling of TinyMCE HTML Text Editor
- More than one TinyMCE (wp_editor) with different $settings[‘drag_drop_upload’] values breaks
- Why can’t a custom postype be registered with “admin_init” hook?
- Remove Permalink From Admin Edit Post
- Show excerpt if no title in admin view
- Seems that admin_post_{action} does not executing
- Change default italic from to in admin editor
- get_current_screen and the WP_Screen class
- Filter WooCommerce Orders
- Send admin to a different login than users?
- Set Link Target Checkbox chcked on Edit Image MOdal Window in Admin Post Edit Screen?
- Remove iPhone detection on login page
- Gutenberg UI has changed
- Can I retrieve Published changes when changes have been Saved but not Published in WordPress Semplice?
- Visual editor popover or placeholder
- How to retain HTML5 Attributes on Markup
- ‘Conflict’ with action deleted_post and is_admin()
- Disabling “View” mentions from backend?
- Remove “minor-publishing” div from Publish admin metabox
- What Role to assign remote site developer?
- How to add placeholder in wp_editor?
- What are the standard admin CSS id/class tags?
- Admin Ajax is returning 0
- Add custom column to Users admin panel
- wp_verify_nonce vs check_admin_referer
- Add a Separator to the Admin Menu?
- How to determine whether we are in add New page/post/CPT or in edit page/post/CPT in wordpress admin?
- Adding Custom Text Patterns in the WP 4.5 Visual Editor
- Extra TinyMCE editor strips and tags?
- Modal window from within WordPress admin
- Creating a wp_editor instance with custom tinyMCE buttons
- Where in WP can I check history or log of updates of plugins etc?
- Adding a custom admin page
- How does admin-ajax.php work?
- How to load wp_editor via AJAX
- How to remove entire admin menu?
- How do I remove dashboard access from specific user roles?
- Remove HTML editor and visual/HTML tabs from TinyMCE
- How can I speed up my WP admin section?
- How to pass parameters to admin_notices?
- Changing the “Plugin Activated” Message Default
- Forcing reload of editor-style.css
- if admin is logged in
- Search posts by ID in admin
- How to Change the Default Home Page for the WordPress Dashboard?
- Setting admin edit panels & metaboxes positions and visibility for ALL users and admins
- Find out which moderator approved comment?
- Initialize TinyMCE editor / visual editor after AJAX insert
- The website cannot display the page
- How To Remove WordPress Version From The Admin Footer
- Sort pages in loop by admin’s page attributes order field?
- Edit “thank you for creating with WordPress” in version 3.3.1
- Hide other users’ posts in admin panel
- Set Default Admin Colour For All Users
- No filter of code on switch from html to visual editor, how?
- WordPress admin stylesheet
- This CSS Stuffing Works, But Is This A Good Practice?
- WordPress 3.9 – Trouble Editing TinyMCE 4.0
- Is it possible to create a WordPress tour? V3.3.1
- Securing Admin Accounts – Username Discovery
- How set defaults on wpLink()
- How to get the input of a TinyMCE editor when using on the front-end?
- is_admin() returns true when using admin-ajax.php from front end script
- How to save dismissable notice state in WP 4.2?
- How do I optimize a custom post type admin page with 25,000 posts?