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?
- The website cannot display the page
- Set Default Admin Colour For All Users
- initial sort order for a sortable custom column in admin
- When switching from html to visual editor the tag gets corrupted
- Uploading files in admin panel?
- Redirect Admin User in Dashboard
- Conditional check for front-end which includes ajax
- Hide update messages from non-admin users?
- Modifying the main editor priority
- TinyMCE Autoresize
- How to disable Page Attributes dropdown in wp-admin
- “Automatically add new top-level pages” Default
- Get email address of type Administrator
- Is there a way to have admins that are logged in to wordpress not have to enter the password for password protected pages while browsing the website?
- How to receive security update notification email?
- Add WYSIWYG to Image Description field
- Is there a way to hook into the update-core page for custom messages?
- My WordPress Admin looks messed up when I edit posts or pages
- POMO_Reader->substr() call endless loop?
- jQuery UI AutoComplete & wp_enqueue_script
- Plugin admin panel JavaScript Broken
- Force Contributors to add Tags via edit-tags.php
- Edit Auto Update Admin Notification
- wp_editor in thickbox
- How can a TinyMCE modal return formatted/visual text?
- How to disable Media Library uploads for non-Admin users?
- Page can’t hand request – HTTP ERROR 500 – when updating something
- How to apply a custom skin to WP_Editor / TinyMCE?
- How to change the User name and Password of admin account
- Display an image of selected template in admin to aid user when using complex templates
- Insert attachments from custom uploader into post (regular uploader style)
- Passing state from child component to parent component in a Gutenberg Sidebar
- Admin user column sort by numeric meta key
- How to load WP_Editor JS files manually (with AJAX)?
- Get Link of Page Selected through a Select Field in Custom Admin Page
- conditionally update css on edit.php
- Simple CSS admin pagination
- Can I show the tag admin interface on a post when logged in as an admin?
- Inline Editing with wp_editor and tinymce (problem with textarea)
- wp-editor-area textarea disapear on cancel-comment-reply-link click
- WordPress gallery image link gives 404 when not logged in
- New User Notification – Setting Email
- wp_editor() in content that was loaded with ajax [duplicate]
- You do not have permission to access this document on form submit
- Woo Commerce Settings for Check-out Form [closed]