Function names

This commit is contained in:
Mike Francis 2015-02-09 14:45:53 +00:00
parent cc525b6b31
commit 58070bf054
1 changed files with 4 additions and 4 deletions

View File

@ -109,15 +109,15 @@ add_shortcode( 'button', 'button_shortcode' );
* TinyMCE
*/
function my_mce_buttons_2( $buttons ) {
function barebones_mce_buttons_2( $buttons ) {
array_unshift( $buttons, 'styleselect' );
$buttons[] = 'hr';
return $buttons;
}
add_filter( 'mce_buttons_2', 'my_mce_buttons_2' );
add_filter( 'mce_buttons_2', 'barebones_mce_buttons_2' );
function my_mce_before_init( $settings ) {
function barebones_tiny_mce_before_init( $settings ) {
$style_formats = array(
/*
* Example
@ -132,4 +132,4 @@ function my_mce_before_init( $settings ) {
return $settings;
}
add_filter( 'tiny_mce_before_init', 'my_mce_before_init' );
add_filter( 'tiny_mce_before_init', 'barebones_tiny_mce_before_init' );