You appear to be a bot. Output may be restricted
Description
Implement 'mce_buttons' filterAdd the bwbutton_button to the array of Tiny MCE buttons
Usage
$array = bw_filter_mce_button( $buttons );
Parameters
- $buttons
- ( array ) required – array of TinyMCE buttons
Returns
array with the bwbutton_button addedSource
File name: oik/oik-button-shortcodes.phpLines:
1 to 10 of 10
function bw_filter_mce_button( $buttons ) { global $tinymce_version; if ( version_compare( $tinymce_version, '4018' ) >= 0 ) { array_push( $buttons, 'bwbutton' ); } else { array_push( $buttons, 'bwbutton_button' ); } return $buttons; }View on GitHub View on Trac