Created
March 9, 2017 16:44
-
-
Save munts/2eb37f3698b1b5d1417f36406bfbd77e to your computer and use it in GitHub Desktop.
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
/** | |
* Media - set default image link location to 'None' | |
*/ | |
update_option('image_default_link_type','none'); | |
/** | |
* Always Show Kitchen Sink in WYSIWYG Editor | |
*/ | |
function unhide_kitchensink( $args ) { | |
$args['wordpress_adv_hidden'] = false; | |
return $args; | |
} | |
add_filter( 'tiny_mce_before_init', 'unhide_kitchensink' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment