Last active
March 8, 2017 23:05
-
-
Save andrasguseo/c49e5c31feb6c8738a2fd02273eb3bb2 to your computer and use it in GitHub Desktop.
Hide the TinyMCE editor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* LOAD CUSTOM STYLES AT THE END OF THE PAGE */ | |
function hide_tinymce() { | |
?> | |
<style type="text/css"> | |
#postdivrich { | |
display: none; | |
} | |
</style> | |
<?php | |
} | |
add_action( 'admin_head', 'hide_tinymce' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment