You appear to be a bot. Output may be restricted
Description
Implement 'mce_buttons' filter to add the bwpaypal_button to the array of Tiny MCE buttons
Usage
bw_paypal_filter_mce_button( $buttons );
Parameters
- $buttons
- ( mixed ) required –
Returns
voidSource
File name: oik/oik-paypal-shortcodes.phpLines:
1 to 9 of 9
function bw_paypal_filter_mce_button( $buttons ) { global $tinymce_version; if ( version_compare( $tinymce_version, '4018' ) >= 0 ) { array_push( $buttons, 'bwpaypal' ); } else { array_push( $buttons, 'bwpaypal_button' ); } return $buttons; }View on GitHub View on Trac