Last active
February 12, 2016 08:53
-
-
Save mafsdisseny/4a39e09c0bc331c51b9a to your computer and use it in GitHub Desktop.
Display the advanced tools bar of tiny_mce by default in the WordPress visual 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 | |
function show_advanced_tools_bar_tiny_mce( $args ) { | |
$args['wordpress_adv_hidden'] = false; | |
return $args; | |
} | |
add_filter( 'tiny_mce_before_init', 'show_advanced_tools_bar_tiny_mce' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment