Disable HTML in Frontend Editor
-
Hi,
I’m using the plugin Front-End Publishing and now I want to disable HTML in the editor. I tried a lot of different codes/snippets but they only worked for the backend.
Now I used this snipped in my functions.php
add_filter( 'user_can_richedit' , '__return_false', 50 );
and it works on frontend, but the problem is: it disables the visual editor and not the HTML editor.I think I have to replace user_can_richedit with something else …
Hope you can help me.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Disable HTML in Frontend Editor’ is closed to new replies.