WP_Editor – Remove Menu Bar
-
I’ve installed TinyMCE Advanced and it works great on post types but I want to modify it a little bit on a custom TinyMCE ( wp_editor() ). I’d like to hide / remove the menu bar, preferably not through css. I thought I could pass “menubar => false” but it didn’t seem to work, neither did passing it an empty string.
wp_editor( $bot_content, 'bot_content_editor', array( 'textarea_name' => '_bot_content', 'tinymce' => array( 'menubar' => false ) ) );Again, passing
falseor''doesn’t get rid of the menubar, how do I remove the menubar on custom editors?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘WP_Editor – Remove Menu Bar’ is closed to new replies.