%PDF- %PDF-
Direktori : /var/www/html/higroup/wp-content/plugins/devmonsta/core/options/customizer/libs/ |
Current File : /var/www/html/higroup/wp-content/plugins/devmonsta/core/options/customizer/libs/sections.php |
<?php if (class_exists('WP_Customize_Section')) { class DEVM_WP_Customize_Section extends WP_Customize_Section { public $section; public $type = 'pe_section'; public function json() { $array = wp_array_slice_assoc((array)$this, array('id', 'description', 'priority', 'panel', 'type', 'description_hidden', 'section',)); $array['title'] = html_entity_decode($this->title, ENT_QUOTES, get_bloginfo('charset')); $array['content'] = $this->get_content(); $array['active'] = $this->active(); $array['instanceNumber'] = $this->instance_number; if ($this->panel) { $array['customizeAction'] = sprintf('Customizing ▸ %s', esc_html($this->manager->get_panel($this->panel)->title)); } else { $array['customizeAction'] = 'Customizing'; } return $array; } } } if (class_exists('WP_Customize_Panel')) { class DEVM_WP_Customize_Panel extends WP_Customize_Panel { public $panel; public $type = 'pe_panel'; public function json() { $array = wp_array_slice_assoc((array)$this, array('id', 'description', 'priority', 'type', 'panel',)); $array['title'] = html_entity_decode($this->title, ENT_QUOTES, get_bloginfo('charset')); $array['content'] = $this->get_content(); $array['active'] = $this->active(); $array['instanceNumber'] = $this->instance_number; return $array; } } }