You appear to be a bot. Output may be restricted
Description
Implement 'mce_external_plugins' filter to add the jQuery code to be executed when then bwpaypalbutton_button is clickedNote: The _button suffix is not used… not quite sure where the linkage is
Usage
bw_paypal_filter_mce_plugin( $plugins );
Parameters
- $plugins
- ( mixed ) required –
Returns
voidSource
File name: oik/oik-paypal-shortcodes.phpLines:
1 to 9 of 9
function bw_paypal_filter_mce_plugin($plugins) { global $tinymce_version; if ( version_compare( $tinymce_version, '4018' ) >= 0 ) { $plugins['bwpaypal'] = oik_url( 'admin/oik_paypal_plugin_4.js' ); } else { $plugins['bwpaypal'] = oik_url( 'admin/oik_paypal_plugin.js' ); } return $plugins; }View on GitHub View on Trac