Skip to content

Instantly share code, notes, and snippets.

@tiborp
Last active December 12, 2015 03:18
Show Gist options
  • Save tiborp/4705486 to your computer and use it in GitHub Desktop.
Save tiborp/4705486 to your computer and use it in GitHub Desktop.
Always show Kitchen Sink in WordPress WYSIWYG Editor (so you don't have to explain this to clients every time ;-))
<?php
// Always show Kitchen Sink in WYSIWYG Editor
add_filter( 'tiny_mce_before_init', 'yourprefix_unhide_kitchensink' );
function yourprefix_unhide_kitchensink($args) {
$args['wordpress_adv_hidden'] = false;
return $args;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment