Priority File Manager

📁 public_html
Base Directory:
/home/ecedu/public_html/wp-includes/customize
NameTypeSizeActions
📁 .. Folder -
📄 class-wp-customize-background-image-control.php File 1284
Edit Download
📄 class-wp-customize-background-image-setting.php File 639
Edit Download
📄 class-wp-customize-background-position-control.php File 3032
Edit Download
📄 class-wp-customize-code-editor-control.php File 2317
Edit Download
📄 class-wp-customize-color-control.php File 3066
Edit Download
📄 class-wp-customize-cropped-image-control.php File 1459
Edit Download
📄 class-wp-customize-custom-css-setting.php File 5288
Edit Download
📄 class-wp-customize-date-time-control.php File 9446
Edit Download
📄 class-wp-customize-filter-setting.php File 588
Edit Download
📄 class-wp-customize-header-image-control.php File 8030
Edit Download
📄 class-wp-customize-header-image-setting.php File 1782
Edit Download
📄 class-wp-customize-image-control.php File 1211
Edit Download
📄 class-wp-customize-media-control.php File 9415
Edit Download
📄 class-wp-customize-nav-menu-auto-add-control.php File 1122
Edit Download
📄 class-wp-customize-nav-menu-control.php File 2128
Edit Download
📄 class-wp-customize-nav-menu-item-control.php File 8157
Edit Download
📄 class-wp-customize-nav-menu-item-setting.php File 27869
Edit Download
📄 class-wp-customize-nav-menu-location-control.php File 2299
Edit Download
📄 class-wp-customize-nav-menu-locations-control.php File 2817
Edit Download
📄 class-wp-customize-nav-menu-name-control.php File 1131
Edit Download
📄 class-wp-customize-nav-menu-section.php File 716
Edit Download
📄 class-wp-customize-nav-menu-setting.php File 18936
Edit Download
📄 class-wp-customize-nav-menus-panel.php File 3309
Edit Download
📄 class-wp-customize-new-menu-control.php File 1710
Edit Download
📄 class-wp-customize-new-menu-section.php File 1693
Edit Download
📄 class-wp-customize-partial.php File 10568
Edit Download
📄 class-wp-customize-selective-refresh.php File 13754
Edit Download
📄 class-wp-customize-sidebar-section.php File 1059
Edit Download
📄 class-wp-customize-site-icon-control.php File 5173
Edit Download
📄 class-wp-customize-theme-control.php File 11889
Edit Download
📄 class-wp-customize-themes-panel.php File 3385
Edit Download
📄 class-wp-customize-themes-section.php File 6955
Edit Download
📄 class-wp-customize-upload-control.php File 1197
Edit Download
📄 class-wp-sidebar-block-editor-control.php File 686
Edit Download
📄 class-wp-widget-area-customize-control.php File 1719
Edit Download
📄 class-wp-widget-form-customize-control.php File 2646
Edit Download
button_labels = wp_parse_args( $this->button_labels, $this->get_default_button_labels() ); } /** * Enqueue control related scripts/styles. * * @since 3.4.0 * @since 4.2.0 Moved from WP_Customize_Upload_Control. */ public function enqueue() { wp_enqueue_media(); } /** * Refresh the parameters passed to the JavaScript via JSON. * * @since 3.4.0 * @since 4.2.0 Moved from WP_Customize_Upload_Control. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['label'] = html_entity_decode( $this->label, ENT_QUOTES, get_bloginfo( 'charset' ) ); $this->json['mime_type'] = $this->mime_type; $this->json['button_labels'] = $this->button_labels; $this->json['canUpload'] = current_user_can( 'upload_files' ); $value = $this->value(); if ( is_object( $this->setting ) ) { if ( $this->setting->default ) { /* * Fake an attachment model - needs all fields used by template. * Note that the default value must be a URL, NOT an attachment ID. */ $ext = substr( $this->setting->default, -3 ); $type = in_array( $ext, array( 'jpg', 'png', 'gif', 'bmp', 'webp', 'avif' ), true ) ? 'image' : 'document'; $default_attachment = array( 'id' => 1, 'url' => $this->setting->default, 'type' => $type, 'icon' => wp_mime_type_icon( $type, '.svg' ), 'title' => wp_basename( $this->setting->default ), ); if ( 'image' === $type ) { $default_attachment['sizes'] = array( 'full' => array( 'url' => $this->setting->default ), ); } $this->json['defaultAttachment'] = $default_attachment; } if ( $value && $this->setting->default && $value === $this->setting->default ) { // Set the default as the attachment. $this->json['attachment'] = $this->json['defaultAttachment']; } elseif ( $value ) { $this->json['attachment'] = wp_prepare_attachment_for_js( $value ); } } } /** * Don't render any content for this control from PHP. * * @since 3.4.0 * @since 4.2.0 Moved from WP_Customize_Upload_Control. * * @see WP_Customize_Media_Control::content_template() */ public function render_content() {} /** * Render a JS template for the content of the media control. * * @since 4.1.0 * @since 4.2.0 Moved from WP_Customize_Upload_Control. */ public function content_template() { ?> <# var descriptionId = _.uniqueId( 'customize-media-control-description-' ); var describedByAttr = data.description ? ' aria-describedby="' + descriptionId + '" ' : ''; #> <# if ( data.label ) { #> {{ data.label }} <# } #>
<# if ( data.description ) { #> {{{ data.description }}} <# } #> <# if ( data.attachment && data.attachment.id ) { #>
<# if ( 'image' === data.attachment.type && data.attachment.sizes && data.attachment.sizes.medium ) { #> <# } else if ( 'image' === data.attachment.type && data.attachment.sizes && data.attachment.sizes.full ) { #> <# } else if ( 'audio' === data.attachment.type ) { #> <# if ( data.attachment.image && data.attachment.image.src && data.attachment.image.src !== data.attachment.icon ) { #> <# } else { #> <# } #>

“{{ data.attachment.title }}”

<# if ( data.attachment.album || data.attachment.meta.album ) { #>

{{ data.attachment.album || data.attachment.meta.album }}

<# } #> <# if ( data.attachment.artist || data.attachment.meta.artist ) { #>

{{ data.attachment.artist || data.attachment.meta.artist }}

<# } #> <# } else if ( 'video' === data.attachment.type ) { #>
<# } else { #>

{{ data.attachment.title }}

<# } #>
<# if ( data.canUpload ) { #> <# } #>
<# } else { #>
<# if ( data.canUpload ) { #> <# } #>
<# if ( data.defaultAttachment ) { #> <# } #>
<# } #> mime_type ) ? strtok( ltrim( $this->mime_type, '/' ), '/' ) : 'default'; switch ( $mime_type ) { case 'video': return array( 'select' => __( 'Select video' ), 'change' => __( 'Change video' ), 'default' => __( 'Default' ), 'remove' => __( 'Remove' ), 'placeholder' => __( 'No video selected' ), 'frame_title' => __( 'Select video' ), 'frame_button' => __( 'Choose video' ), ); case 'audio': return array( 'select' => __( 'Select audio' ), 'change' => __( 'Change audio' ), 'default' => __( 'Default' ), 'remove' => __( 'Remove' ), 'placeholder' => __( 'No audio selected' ), 'frame_title' => __( 'Select audio' ), 'frame_button' => __( 'Choose audio' ), ); case 'image': return array( 'select' => __( 'Select image' ), 'site_icon' => __( 'Select Site Icon' ), 'change' => __( 'Change image' ), 'default' => __( 'Default' ), 'remove' => __( 'Remove' ), 'placeholder' => __( 'No image selected' ), 'frame_title' => __( 'Select image' ), 'frame_button' => __( 'Choose image' ), ); default: return array( 'select' => __( 'Select file' ), 'change' => __( 'Change file' ), 'default' => __( 'Default' ), 'remove' => __( 'Remove' ), 'placeholder' => __( 'No file selected' ), 'frame_title' => __( 'Select file' ), 'frame_button' => __( 'Choose file' ), ); } // End switch(). } }