gmt_add_tinymce_plugin

The WordPress Core gmt add tinymce plugin function.

Description

gmt_add_tinymce_plugin( $plugin_array ); 

Parameters (1)

0. $plugin_array
The plugin array.

Usage

  1. if ( !function_exists( 'gmt_add_tinymce_plugin' ) ) { 
  2. require_once '/inc/shortcode.php'; 
  3.  
  4. // The plugin array. 
  5. $plugin_array = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = gmt_add_tinymce_plugin($plugin_array); 
  9.  

Defined (1)

The function is defined in the following location(s).

/inc/shortcode.php  
  1. function gmt_add_tinymce_plugin( $plugin_array ) { 
  2.  
  3. $plugin_array['gmt_tab'] = plugin_dir_url( __FILE__ ) . 'js/tinymce-button.js'; 
  4. //var_dump( $plugin_array ); 
  5. return $plugin_array;