Hey so I am trying to determine how WordPress remembers which editor is being used for a particular post (HTML or Visual Editor (tinyMCE)). When you write a post, and then come back, it goes to the last used editor. I am assuming its a cookie of some sort (because I couldn’t find any info in the database), but does anyone know where the code for this is?
Leave a Reply
You must be logged in to post a comment.
wp-settings cookie screenshot
its stored in the cookie wp-settings-USERID, replace USERID with the id of the logged in user.
the two values are editor=tinymce or editor=html
I don’t know, but here’s how I’d find out: