gmt_add_tinymce_button

The Google Map Tab gmt add tinymce button function.

Description

gmt_add_tinymce_button( $buttons ); 

Parameters (1)

0. $buttons
The buttons.

Usage

  1. if ( !function_exists( 'gmt_add_tinymce_button' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-map-tab/inc/shortcode.php'; 
  3.  
  4. // The buttons. 
  5. $buttons = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = gmt_add_tinymce_button($buttons); 
  9.  

Defined (1)

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

/inc/shortcode.php  
  1. function gmt_add_tinymce_button( $buttons ) { 
  2.  
  3. array_push( $buttons, 'gmt_button_key' ); 
  4. //var_dump( $buttons ); 
  5. return $buttons;