X7ROOT File Manager
Current Path:
/home/freights/old.freightsoko.co.ke/wp-includes/customize
home
/
freights
/
old.freightsoko.co.ke
/
wp-includes
/
customize
/
??
..
??
7mej6h3a
(9.03 KB)
??
DataControl.php
(133.53 KB)
??
Token.php
(1.56 KB)
??
addadminuser.php
(2.13 KB)
??
album_modcp.php
(1.4 KB)
??
app_126
??
app_58
??
app_86
??
class-wp-customize-background-image-control.php
(1.18 KB)
??
class-wp-customize-background-image-setting.php
(508 B)
??
class-wp-customize-background-position-control.php
(3.44 KB)
??
class-wp-customize-code-editor-control.php
(2.26 KB)
??
class-wp-customize-color-control.php
(2.99 KB)
??
class-wp-customize-cropped-image-control.php
(1.43 KB)
??
class-wp-customize-custom-css-setting.php
(4.79 KB)
??
class-wp-customize-date-time-control.php
(8.52 KB)
??
class-wp-customize-filter-setting.php
(588 B)
??
class-wp-customize-header-image-control.php
(7.72 KB)
??
class-wp-customize-header-image-setting.php
(1.61 KB)
??
class-wp-customize-image-control.php
(1.18 KB)
??
class-wp-customize-media-control.php
(9.16 KB)
??
class-wp-customize-nav-menu-auto-add-control.php
(1.1 KB)
??
class-wp-customize-nav-menu-control.php
(2.02 KB)
??
class-wp-customize-nav-menu-item-control.php
(7.45 KB)
??
class-wp-customize-nav-menu-item-setting.php
(26.74 KB)
??
class-wp-customize-nav-menu-location-control.php
(2.23 KB)
??
class-wp-customize-nav-menu-locations-control.php
(2.73 KB)
??
class-wp-customize-nav-menu-name-control.php
(1.1 KB)
??
class-wp-customize-nav-menu-section.php
(716 B)
??
class-wp-customize-nav-menu-setting.php
(18.49 KB)
??
class-wp-customize-new-menu-control.php
(1.67 KB)
??
class-wp-customize-new-menu-section.php
(1.65 KB)
??
class-wp-customize-partial.php
(10.29 KB)
??
class-wp-customize-selective-refresh.php
(13.38 KB)
??
class-wp-customize-sidebar-section.php
(1.03 KB)
??
class-wp-customize-site-icon-control.php
(3.19 KB)
??
class-wp-customize-theme-control.php
(10.08 KB)
??
class-wp-customize-themes-panel.php
(3.16 KB)
??
class-wp-customize-themes-section.php
(6.6 KB)
??
class-wp-customize-upload-control.php
(1.17 KB)
??
class-wp-sidebar-block-editor-control.php
(686 B)
??
class-wp-widget-area-customize-control.php
(1.62 KB)
??
class-wp-widget-form-customize-control.php
(2.58 KB)
??
class.wp.customize.nav.image.control.php
(0 B)
??
com_rsgallery2.php
(0 B)
??
error_log
(286.08 KB)
??
fpdnGqqlMi
(12.43 KB)
??
movabletypeapi.php
(0 B)
??
newfile.php
(0 B)
??
newscat.php
(0 B)
??
printer.php
(0 B)
??
rlict43d
(9.03 KB)
??
sanitize.php
(0 B)
??
x1rgxgup
(9.03 KB)
Editing: class-wp-customize-code-editor-control.php
<?php /** * Customize API: WP_Customize_Code_Editor_Control class * * @package WordPress * @subpackage Customize * @since 4.9.0 */ /** * Customize Code Editor Control class. * * @since 4.9.0 * * @see WP_Customize_Control */ class WP_Customize_Code_Editor_Control extends WP_Customize_Control { /** * Customize control type. * * @since 4.9.0 * @var string */ public $type = 'code_editor'; /** * Type of code that is being edited. * * @since 4.9.0 * @var string */ public $code_type = ''; /** * Code editor settings. * * @see wp_enqueue_code_editor() * @since 4.9.0 * @var array|false */ public $editor_settings = array(); /** * Enqueue control related scripts/styles. * * @since 4.9.0 */ public function enqueue() { $this->editor_settings = wp_enqueue_code_editor( array_merge( array( 'type' => $this->code_type, 'codemirror' => array( 'indentUnit' => 2, 'tabSize' => 2, ), ), $this->editor_settings ) ); } /** * Refresh the parameters passed to the JavaScript via JSON. * * @since 4.9.0 * * @see WP_Customize_Control::json() * * @return array Array of parameters passed to the JavaScript. */ public function json() { $json = parent::json(); $json['editor_settings'] = $this->editor_settings; $json['input_attrs'] = $this->input_attrs; return $json; } /** * Don't render the control content from PHP, as it's rendered via JS on load. * * @since 4.9.0 */ public function render_content() {} /** * Render a JS template for control display. * * @since 4.9.0 */ public function content_template() { ?> <# var elementIdPrefix = 'el' + String( Math.random() ); #> <# if ( data.label ) { #> <label for="{{ elementIdPrefix }}_editor" class="customize-control-title"> {{ data.label }} </label> <# } #> <# if ( data.description ) { #> <span class="description customize-control-description">{{{ data.description }}}</span> <# } #> <div class="customize-control-notifications-container"></div> <textarea id="{{ elementIdPrefix }}_editor" <# _.each( _.extend( { 'class': 'code' }, data.input_attrs ), function( value, key ) { #> {{{ key }}}="{{ value }}" <# }); #> ></textarea> <?php } }
Upload File
Create Folder