Skip to content

Instantly share code, notes, and snippets.

@kaseybon
Created December 10, 2013 20:07
Show Gist options
  • Save kaseybon/7897306 to your computer and use it in GitHub Desktop.
Save kaseybon/7897306 to your computer and use it in GitHub Desktop.
Adds a <hr /> button to the WordPress editor.
function enable_more_buttons($buttons) {
$buttons[] = 'hr';
return $buttons;
}
add_filter("mce_buttons", "enable_more_buttons");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment