You appear to be a bot. Output may be restricted
Description
Implement 'mce_buttons' filter to add the oik shortcodes buttonFor TinyMCE version 4 we return the plugin name used for mce_external_plugins
Usage
bw_shortc_filter_mce_button( $buttons );
Parameters
- $buttons
- ( mixed ) required –
Returns
voidSource
File name: oik/oik-shortc-shortcodes.phpLines:
1 to 9 of 9
function bw_shortc_filter_mce_button( $buttons ) { global $tinymce_version; if ( version_compare( $tinymce_version, '4018' ) >= 0 ) { array_push( $buttons, 'bwshortc' ); } else { array_push( $buttons, 'bwshortc_button' ); } return $buttons; }View on GitHub View on Trac