wp_default_editor();
will tell you the default editor – the last editor used. You can hook into the update/save post action and store this for the current post in the options array or somewhere similar. It’s used in wp-includes/class-wp-editor.php
to define the default editor when loading TinyMCE in the post editor.
Related Posts:
- Can’t give tags rels
- How to use “Add link” pop up for a WordPress widget
- Remove hidden formatting when user paste text from MS Word into TinyMCE
- strip only specific tags (like ), but keep other tags (like )
- Where can I find the code how wordpress parses a post?
- Change padding to text indent in “Increase indent” TinyMCE
- Is there a WordPress equivalent to MediaWiki templates
- Remove whitespace at the end of posts?
- Remove double space after a period
- How to add a custom field after wp post
- Strange problems when I try to insert HTML\XML code snippet in my posts
- Remove permalink from images when inserting into post
- WordPress’ visual editor messing up my (nested) lists (and other things as well)
- Format the Layout of Images In The Edit Post Textarea?
- Apostrophe in a possessive appears as an open-single-smart-quote instead of a closed one
- How to get post body look same as my visual editor?
- Can’t update WordPress Page if post_content is Empty
- Right align a youtube video
- Keyboard shortcut for headings on safari
- How to allow some visitors to edit inline specific post
- When I click edit on a post, all the content disappear. Does anyone know how to fix this?
- How can I have the posts from one word press blog show on the presentation page of another word press site
- Query to get data of a post, if in category?
- Editing WP Plugin
- Order posts by custom field
- Bulk replacing content of multiple pages/posts?
- Hiding menu on mobile only when viewing posts?
- Posts don’t appear on Template Page
- Customize search results to include custom posts and display in a specific template page
- Advanced Post Display/Pagination/Ordering
- How can add posts without category into category
- Custom permalink based on custom post type fields
- Where is object, property or label in the database that controls the order of the posts being displayed?
- Function/filter or plugin to change post status based on custom field value
- exclude one child by id from $post->post_parent
- Custom code in all text between ?
- How to get only current images of a post
- Ordering posts alphabetically by meta keys and title
- Is there a way to change the complete URL of the blog post for a redirecting tracking link?
- WordPress with static posts page and custom permalink structure doesn’t find posts with numeric permalinks
- Hide categories from showing above a Post
- How to edit label_submit styling?
- Relative Image Urls in Posts are starting from root – Not from WordPress Address (URL) at General Settings
- Loop doesn’t display posts. It displays a link to the home page instead
- How to associate media with a post?
- How do I get thumbnails?
- Why I obtain this WP_Query strange behavior trying to select posts having a specific tag?
- Why I have this strange behavior when I try to exlude the featured post from posts visualization?
- Add category attribute to custom recent post shortcode
- How to modify specific parts of a post content in WordPress
- How do I allow my post to update it’s date every week
- WordPress Media URLs?
- How to change the publishing date of each posts?
- Include post on external custom site
- How to show the posts list into a static page? Problems to use the loop into a static page
- WP Load post with ajax and apply isotope
- Run function after post is updated
- Background image in posts
- Count how many posts a user has viewed
- Use a custom post URL that is outside the blog root directory
- Can’t create posts with WP DB Abstraction Plugin
- Multiple approval from editors before publishing?
- How to prevent people from seeing an attachment to a scheduled post that’s released in future?
- Save/retrieve form data best practises for theme development
- How can I access my posts on my wordpress site, now I’ve lost the domain name for it?
- Page not loading content – Body archive – page
- Keep post format class with isotope filter
- Display all posts/pages in a multiple selectbox
- No comments on static front page
- Get new post meta data when (custom) post is saved
- Latest comment post should be the first post in the blog
- Run Jquery Script after delete post in front end
- Featured Images link to post parent
- WordPress – Update all existing posts at once
- Can I save part of the post in an external file and join it on the fly to avoid redundancy in the wp_posts table?
- WordPress is creating a lot of draft posts
- Grab next post title in archive page
- How do I control the fallback query after the original query returned cero posts?
- Checking if some condition is matched before inserting post into database
- Can’t seem to replicate permalink structure for localhost development site
- Newly created category does not show category
- Shortcode for printing post titles
- how to create cron that post events daily in wordpress?
- Show category post with excerpt text
- Post of a specific category – not to be seen in paging previous/next post
- $post->ID not working
- Authentication over CURL
- How to show main category related to that post
- WordPress rewrite url help needed
- How to Add Wrapper to Infinite Scroll Javascript?
- Permalink of some posts change
- Post not showing up sometimes on website
- Have latest post and recent posts display differently
- Removing a post from the results of a WP Query
- Extra field in wp_post instead of postmeta
- 3rd Party Login in wordpress
- Same sidebar in all posts as in the category
- Add wp-link-pages to post
- Voting System, database connections?
- Adding The Post Template Dropdown to WP-Admin