Skip to content

Instantly share code, notes, and snippets.

@iscat
Created May 18, 2013 04:41
Show Gist options
  • Save iscat/5603267 to your computer and use it in GitHub Desktop.
Save iscat/5603267 to your computer and use it in GitHub Desktop.
<?php
/* Add the anchor link button back to the TinyMCE Editor in WordPress
--------------------------------------------------------------- */
function sennza_add_more_buttons( $buttons ) {
$buttons[] = 'anchor';
return $buttons;
}
add_filter( 'mce_buttons', 'sennza_mce_buttons' );
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment