From 58070bf05498c87dacd09d254be637cb90dc7b39 Mon Sep 17 00:00:00 2001 From: Mike Francis Date: Mon, 9 Feb 2015 14:45:53 +0000 Subject: [PATCH] Function names --- functions.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/functions.php b/functions.php index dbc796d..dba6725 100644 --- a/functions.php +++ b/functions.php @@ -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' );