wordpress/wp-content/plugins/kt-tinymce-color-grid/index.php
/**
         * Add metaboxes to settings page
         * @since 1.9
         */
Add metaboxes to settings page
@since 1.9
Add metaboxes to settings page @since 1 . 9
protected function add_metaboxes() {
            $boxes = array(
                'palette' => __('Color Palette', 'kt-tinymce-color-grid'),
                'grid' => __('Classic Editor: Color Picker', 'kt-tinymce-color-grid'),
                'backup' => __('Backup', 'kt-tinymce-color-grid'),
            );
            foreach ($boxes as $key => $title) {
                add_meta_box("kt_{$key}_metabox", $title, array($this, "print_{$key}_metabox"));
            }
        }
protected function add_metaboxes ( ) { $ boxes = array ( 'palette' => __ ( 'Color Palette' , 'kt-tinymce-color-grid' ) , 'grid' => __ ( 'Classic Editor: Color Picker' , 'kt-tinymce-color-grid' ) , 'backup' => __ ( 'Backup' , 'kt-tinymce-color-grid' ) , ) ; foreach ( $ boxes as $ key => $ title ) { add_meta_box ( " kt_ { $ key } _metabox " , $ title , array ( $ this , " print_ { $ key } _metabox " ) ) ; } }
Add metaboxes to settings page
 @since 1.9
Add metaboxes to settings page @since 1 . 9