Reputation: 7461
Wordpress gives two options while creating a post.
How to know in php code that the post is of visual or text type.
Upvotes: 0
Views: 24
Reputation: 5310
I think you might be confused about what those tabs do. They simply toggle between the exact same data. One tab rendered the exact markup you have created, and the other one renders that (same!) markup PLUS the CSS file that is associated with the editor.
There is no way to tell them apart, since they are (literally) the same thing.
Upvotes: 1