File manager - Edit - /home/xfekoga/rooftopcleaners/wp-includes/widgets/custom-customizer.tar
Back
consultstreet-customizer-section.php 0000644 00000002515 15174424624 0014053 0 ustar 00 <?php /** * Extend default customizer section. * * @package consultstreet * * @see WP_Customize_Section * @access public */ if ( class_exists( 'WP_Customize_Section' ) ) { /** * Class ConsultStreet_Customize_Section */ class ConsultStreet_Customize_Section extends WP_Customize_Section { /** * Section. * * @var string */ public $section; /** * Type of this section. * * @var string */ public $type = 'consultstreet_section'; /** * Gather the parameters passed to client JavaScript via JSON. * * @return array The array to be exported to the client as JSON. */ 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; } } } consultstreet-customizer-panel.php 0000644 00000001765 15174424624 0013514 0 ustar 00 <?php /** * Extend default customizer panel. * * @package consultstreet * * @see WP_Customize_Panel * @access public */ if ( class_exists( 'WP_Customize_Panel' ) ) { /** * Class ConsultStreet_Customize_Panel */ class ConsultStreet_Customize_Panel extends WP_Customize_Panel { /** * Panel * * @var string */ public $panel; /** * Control type. * * @var string */ public $type = 'consultstreet_panel'; /** * Get section parameters for JS. * * @return array Exported parameters. */ 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; } } }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings