• Tinymce external plugin hack is not working on wordpress 4.4.1.

    add_filter( ‘mce_external_plugins’, ‘microlise_add_tinymce_plugin’ );
    function microlise_add_tinymce_plugin( $plugin_array ) {
    $plugin_array[‘cta_button_script’] = plugins_url( ‘/cta-button.js’, __FILE__ );
    return $plugin_array;
    }

Viewing 1 replies (of 1 total)
  • Geoffrey Shilling

    (@geoffreyshilling)

    Volunteer Moderator

    I don’t have much experience with this, but does it make a difference if you put add_filter( 'mce_external_plugins', 'microlise_add_tinymce_plugin' ); below the function?

    Have you taken a look at the page on TinyMCE Custom Buttons?

Viewing 1 replies (of 1 total)
  • The topic ‘mce_external_plugins is not working’ is closed to new replies.