Instantly share code, notes, and snippets.

Embed
What would you like to do?
Add Button for Horizontal Line in TinyMCE Editor
<?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