Created
July 15, 2013 23:42
-
-
Save wpspeak/6004510 to your computer and use it in GitHub Desktop.
Add Button for Horizontal Line in TinyMCE 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 afn_more_buttons($buttons) { | |
$buttons[] = 'hr'; | |
return $buttons; | |
} | |
add_filter("mce_buttons", "afn_more_buttons"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment