My webstie have custom post type created, and now I want to disable usage of any html tag in content editor, so only plain text is saved in database (and to remove content editor and html editor if possible).
I found functions to remove (rich) content editor:
add_filter('user_can_richedit' , create_function('' , 'return false;') , 50);
And HTML editor remained. But even if I maange to remove HTML editor (this: http://prntscr.com/26uj6u ), users will be able to just type html tags and they will be saved in database.
Can someone help me with this?
save_post
hook) already? What was wrong with them?