gmt_add_tinymce_button
The WordPress Core gmt add tinymce button function.
Description
gmt_add_tinymce_button( $buttons );
Parameters (1)
- 0. $buttons
- The buttons.
Usage
if ( !function_exists( 'gmt_add_tinymce_button' ) ) { require_once '/inc/shortcode.php'; } // The buttons. $buttons = null; // NOTICE! Understand what this does before running. $result = gmt_add_tinymce_button($buttons);
Defined (1)
The function is defined in the following location(s).
- /inc/shortcode.php
- function gmt_add_tinymce_button( $buttons ) {
- array_push( $buttons, 'gmt_button_key' );
- //var_dump( $buttons );
- return $buttons;
- }