It’s easier then you thought! Just add this code to the functions.php file in your theme.
function prefix_set_default_editor() {
return 'text';
}
add_filter( 'wp_default_editor', 'prefix_set_default_editor' );
Related Posts:
- 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
- WordPress admin screen very slow / timing out when editing or adding a new page/custom post
- How to retain HTML5 Attributes on Markup
- Disable HTML (Text) Tab in Post Editor
- How to restrict the editors from viewing/editing pages created by admin?
- Make the Status, Visibility, or Date fields opened by default in the Publish box
- How do you set up a WordPress blog with multiple authors to allow something like StackExchange’s “community wiki” feature?
- Editors change a permalink on an unpublished post, but only admins change a permalink on a post that has ever been published?
- Change default italic from to in admin editor
- Post editor is 89953px tall. How to fix?
- Gutenberg UI has changed
- Can I retrieve Published changes when changes have been Saved but not Published in WordPress Semplice?
- How to retain HTML5 Attributes on Markup
- Disabling “View” mentions from backend?
- TinyMCE buttons broken
- Remove “minor-publishing” div from Publish admin metabox
- WordPress 4.5 Inline Link Toolbar not working on custom wp_editor instance
- What Role to assign remote site developer?
- CSS Styles specific to Admin Sidebar not loading
- What are the standard admin CSS id/class tags?
- How to remove entire admin menu?
- How can I target WordPress 3.8 new interface MP6 with CSS?
- Settings API – easiest way of validating checkboxes?
- Redirect Admin User in Dashboard
- Read only capability for custom post in admin area
- How can ‘admin_email’ be set?
- How to change WordPress default strings?
- Remove ability to access certain admin menus
- Gutenberg “Add Block” button is not active (greyed out), cannot add new blocks
- How To View Site from Non-Logged-In User’s Perspective
- Hide update messages from non-admin users?
- Daily notices of failed login attempts for non-existent admin user
- Reorder plugin items in the admin menu
- Wrong url in sortable column headers & pagination in the admin, when behind a proxy
- Reference external file as a function
- How to disable Page Attributes dropdown in wp-admin
- “Automatically add new top-level pages” Default
- Is it possible to hook AJAX to UPDATE-button?
- Check if user is logged in else login page
- Which hook for processing plugin page form data?
- Calling a shortcode in the backend
- Add tabbed menu to admin page
- WYSIWYG – Getting the “link” button from HTML mode in Visual mode
- Error thrown. Cannot create references to/from string offsets
- Include admins in author drop-down on edit post screen
- How can I restore admin capabilities?
- How to restrict wp-admin and prevent upload errors
- Adding another “Add Post” button to admin
- Admin page redirect to another admin page
- How to determine if an admin is logged in outside the loop
- What determines whether admin toolbar is shown to a logged-in user?
- How to make content editable from admin page?
- Adding text in more than one language (at the same time)
- How to get view count of every page on site and add that (increasing) number to Dashboard Widget
- Restrict function call to page load but not ajax call
- How to disable https from wordpress site?
- Super slow admin panel
- My WordPress Admin looks messed up when I edit posts or pages
- Save author posts as in pending review – block users updating their posts
- Edit Auto Update Admin Notification
- Unable to Access WP Admin or Login buttons after Migration
- Add custom button next to native “Apply” button in the edit-tag screen
- Enqueue and Dequeue from admin bar nodes
- How to enqueue admin content outside admincp
- How do I correctly transfer my site from one domain to another?
- Unable to get to the admin panel
- Where can I store common cross-site text (e.g. headings, titles etc.)
- get_current_screen and the WP_Screen class
- How to find a spam link?
- How to change all “Post” texts in dahboard into “Article”?
- How to modify admin headers
- Directly editing content on webpage, is it possible?
- How to disable Media Library uploads for non-Admin users?
- WordPress wraps span tags into p tags
- Admin user lacks admin permissions after hack and can’t reinstate
- Redirect public site to another one but allow administrators to access the old site
- “sufficient permissions” error for admin after duplicating WP database to new install
- How to remove the default checked attribute from inputs in admin?
- Passing state from child component to parent component in a Gutenberg Sidebar
- I can’t enter the control panel of my wordpress site after channing the URL to https://
- Shop in Subdomain feeding main domain order in admin area
- Error 404 Display on otherlinks apart from homepage
- Admin Access for specific page(s)
- Sortable admin columns by 0.00 number
- WordPress Admin Thickbox: Remove Margins/Padding
- How to change the title attribute for the WP logo image on wp-login.php
- WordPress Admin Email
- WordPress “Hide WP” Gives Me Error After Admin Login [closed]
- Editing post in admin panel
- Making a custom upload form and page in the admin section
- site admin for subscribers
- Customise the add media pop-up to include rel attribute option
- Custom Div with links on Admin Bar
- WordPress admin loads erratically “connection reset by peer”
- How to fix broken admin Thickbox?
- Can’t access my wp admin: captcha images invisible, gives me error message
- Pull Random Images From Options Page [closed]
- You do not have permission to access this document on form submit