$45 GRAYBYTE WORDPRESS FILE MANAGER $64

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/bqrcodec/contact.fpt.auto/wp-includes/customize/

HOME
Current File : /home/bqrcodec/contact.fpt.auto/wp-includes/customize//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
	}
}

Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
18 Mar 2026 5.50 AM
bqrcodec / bqrcodec
0755
wp-site
--
18 Mar 2026 5.50 AM
bqrcodec / bqrcodec
0755
class-wp-customize-background-image-control.php
1.254 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-background-image-setting.php
0.624 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-background-position-control.php
2.961 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-code-editor-control.php
2.263 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-color-control.php
2.994 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-cropped-image-control.php
1.425 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-custom-css-setting.php
5.164 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-date-time-control.php
9.225 KB
16 Apr 2025 8.58 AM
bqrcodec / bqrcodec
0755
class-wp-customize-filter-setting.php
0.574 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-header-image-control.php
7.842 KB
16 Apr 2025 8.58 AM
bqrcodec / bqrcodec
0755
class-wp-customize-header-image-setting.php
1.74 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-image-control.php
1.183 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-media-control.php
9.194 KB
3 Apr 2024 5.00 AM
bqrcodec / bqrcodec
0755
class-wp-customize-nav-menu-auto-add-control.php
1.096 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-nav-menu-control.php
2.078 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-nav-menu-item-control.php
7.966 KB
17 Jul 2024 6.19 AM
bqrcodec / bqrcodec
0755
class-wp-customize-nav-menu-item-setting.php
26.921 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-nav-menu-location-control.php
2.245 KB
3 Apr 2024 5.00 AM
bqrcodec / bqrcodec
0755
class-wp-customize-nav-menu-locations-control.php
2.751 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-nav-menu-name-control.php
1.104 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-nav-menu-section.php
0.699 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-nav-menu-setting.php
18.492 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-nav-menus-panel.php
3.231 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-new-menu-control.php
1.67 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-new-menu-section.php
1.653 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-partial.php
10.32 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-selective-refresh.php
13.432 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-sidebar-section.php
1.034 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-site-icon-control.php
5.052 KB
13 Nov 2024 7.59 AM
bqrcodec / bqrcodec
0755
class-wp-customize-theme-control.php
11.61 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-customize-themes-panel.php
3.306 KB
13 Nov 2024 7.59 AM
bqrcodec / bqrcodec
0755
class-wp-customize-themes-section.php
6.792 KB
16 Apr 2025 8.58 AM
bqrcodec / bqrcodec
0755
class-wp-customize-upload-control.php
1.169 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-sidebar-block-editor-control.php
0.67 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-widget-area-customize-control.php
1.679 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
class-wp-widget-form-customize-control.php
2.584 KB
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF