Linux puskom-ProLiant-DL385-Gen10 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64
/
home
/
puskom
/
mastur
/
wp-expand-tabs-free
/
admin
/
partials
/
//home/puskom/mastur/wp-expand-tabs-free/admin/partials/option-config.php
<?php /** * Option config file. * * @link http://shapedplugin.com * @since 2.0.0 * * @package wp-expand-tabs-free * @subpackage wp-expand-tabs-free/admin */ if ( ! defined( 'ABSPATH' ) ) { die; } // Cannot access directly. // // Set a unique slug-like ID. // $prefix = 'sp-tab__settings'; // // Create options. // SP_WP_TABS::createOptions( $prefix, array( 'menu_title' => __( 'Settings', 'wp-expand-tabs-free' ), 'menu_slug' => 'tabs_settings', 'menu_parent' => 'edit.php?post_type=sp_wp_tabs', 'menu_type' => 'submenu', 'show_bar_menu' => false, 'ajax_save' => true, 'save_defaults' => true, 'show_reset_all' => false, 'show_all_options' => false, 'show_reset_section' => true, 'show_search' => false, 'show_footer' => false, 'framework_title' => __( 'Settings', 'wp-expand-tabs-free' ), 'framework_class' => 'sp-tab__options', 'theme' => 'light', ) ); // // Create a section. // SP_WP_TABS::createSection( $prefix, array( 'title' => __( 'Advanced Settings', 'wp-expand-tabs-free' ), 'icon' => 'fa fa-cogs', 'fields' => array( array( 'id' => 'sptpro_data_remove', 'type' => 'checkbox', 'title' => __( 'Clean-up Data on Deletion', 'wp-expand-tabs-free' ), 'title_help' => __( 'Check this box if you would like WP Tabs to completely remove all of its data when the plugin is deleted.', 'wp-expand-tabs-free' ), 'default' => false, ), ), ) ); // // Custom CSS Fields. // SP_WP_TABS::createSection( $prefix, array( 'id' => 'custom_css_section', 'title' => __( 'Additional CSS', 'wp-expand-tabs-free' ), 'icon' => 'fa fa-css3', 'fields' => array( array( 'id' => 'sptpro_custom_css', 'type' => 'code_editor', 'title' => __( 'Custom CSS', 'wp-expand-tabs-free' ), 'settings' => array( 'mode' => 'css', 'theme' => 'monokai', ), ), ), ) );