<pre class="lang:php decode:true " title="TinyMCE Custom Formats">add_filter( 'tiny_mce_before_init', 'ic_custom_tinymce_formats' );
function ic_custom_tinymce_formats( $init_array ) {
	$style_formats = array(
		array(
			'title' =&gt; 'Button',
			'selector' =&gt; 'a',
			'classes' =&gt; 'button',
		),
	);
	$init_array['style_formats'] = json_encode( $style_formats );

	return $init_array;

}</pre>
&nbsp;