The Black Studio TinyMCE plugin is a great plugin that I add to just about every WordPress client site these days. It gives clients a simple way to add some style and formatting to text in a widget area, eg, sidebar or header. However, I find that the name that appears as the widget heading is not that descriptive and was a little confusing for clients. A simple way to solve this is a small function that renames the text displayed in the widget area dashboard, you can rename it to anything you like, but I have found that “Visual Text Editor” or similar is easy for clients to understand.

Here is the function to add to your function.php file.

/**
** Rename name of Black Studio Tiny MCE
**/
function change_tinymce_widget_title( $translation, $text, $domain ) {
  if ( $text == 'Black Studio TinyMCE' )
      $translation = 'Visual Text Editor';
  return $translation;
}
add_filter( 'gettext', 'change_tinymce_widget_title', 10, 3 );

The Gist – WordPress: Rename Black Studio Tiny MCE
Check out all of my WordPress Gist snippets

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>