✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ premium290.web-hosting.com ​🇻​♯➤ 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 63.250.38.37 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.217.6
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /var/softaculous/sitepad/editor/site-inc/customize//class-wp-customize-theme-control.php
<?php
/**
 * Customize API: WP_Customize_Theme_Control class
 *
 * @package WordPress
 * @subpackage Customize
 * @since 4.4.0
 */

/**
 * Customize Theme Control class.
 *
 * @since 4.2.0
 *
 * @see WP_Customize_Control
 */
class WP_Customize_Theme_Control extends WP_Customize_Control {

	/**
	 * Customize control type.
	 *
	 * @since 4.2.0
	 * @var string
	 */
	public $type = 'theme';

	/**
	 * Theme object.
	 *
	 * @since 4.2.0
	 * @var WP_Theme
	 */
	public $theme;

	/**
	 * Refresh the parameters passed to the JavaScript via JSON.
	 *
	 * @since 4.2.0
	 *
	 * @see WP_Customize_Control::to_json()
	 */
	public function to_json() {
		parent::to_json();
		$this->json['theme'] = $this->theme;
	}

	/**
	 * Don't render the control content from PHP, as it's rendered via JS on load.
	 *
	 * @since 4.2.0
	 */
	public function render_content() {}

	/**
	 * Render a JS template for theme display.
	 *
	 * @since 4.2.0
	 */
	public function content_template() {
		/* translators: %s: theme name */
		$details_label = sprintf( __( 'Details for theme: %s' ), '{{ data.theme.name }}' );
		/* translators: %s: theme name */
		$customize_label = sprintf( __( 'Customize theme: %s' ), '{{ data.theme.name }}' );
		/* translators: %s: theme name */
		$preview_label = sprintf( __( 'Live preview theme: %s' ), '{{ data.theme.name }}' );
		/* translators: %s: theme name */
		$install_label = sprintf( __( 'Install and preview theme: %s' ), '{{ data.theme.name }}' );
		?>
		<# if ( data.theme.active ) { #>
			<div class="theme active" tabindex="0" aria-describedby="{{ data.section }}-{{ data.theme.id }}-action">
		<# } else { #>
			<div class="theme" tabindex="0" aria-describedby="{{ data.section }}-{{ data.theme.id }}-action">
		<# } #>

			<# if ( data.theme.screenshot && data.theme.screenshot[0] ) { #>
				<div class="theme-screenshot">
					<img data-src="{{ data.theme.screenshot[0] }}" alt="" />
				</div>
			<# } else { #>
				<div class="theme-screenshot blank"></div>
			<# } #>

			<span class="more-details theme-details" id="{{ data.section }}-{{ data.theme.id }}-action" aria-label="<?php echo esc_attr( $details_label ); ?>"><?php _e( 'Theme Details' ); ?></span>

			<div class="theme-author">
			<?php
				/* translators: Theme author name */
				printf( _x( 'By %s', 'theme author' ), '{{ data.theme.author }}' );
			?>
			</div>

			<# if ( 'installed' === data.theme.type && data.theme.hasUpdate ) { #>
				<div class="update-message notice inline notice-warning notice-alt" data-slug="{{ data.theme.id }}">
					<p>
						<?php
						/* translators: %s: "Update now" button */
						printf( __( 'New version available. %s' ), '<button class="button-link update-theme" type="button">' . __( 'Update now' ) . '</button>' );
						?>
					</p>
				</div>
			<# } #>

			<# if ( data.theme.active ) { #>
				<div class="theme-id-container">
					<h3 class="theme-name" id="{{ data.section }}-{{ data.theme.id }}-name">
						<?php
						/* translators: %s: theme name */
						printf( __( '<span>Previewing:</span> %s' ), '{{ data.theme.name }}' );
						?>
					</h3>
					<div class="theme-actions">
						<button type="button" class="button button-primary customize-theme" aria-label="<?php echo esc_attr( $customize_label ); ?>"><?php _e( 'Customize' ); ?></button>
					</div>
				</div>
				<div class="notice notice-success notice-alt"><p><?php _ex( 'Installed', 'theme' ); ?></p></div>
			<# } else if ( 'installed' === data.theme.type ) { #>
				<div class="theme-id-container">
					<h3 class="theme-name" id="{{ data.section }}-{{ data.theme.id }}-name">{{ data.theme.name }}</h3>
					<div class="theme-actions">
						<button type="button" class="button button-primary preview-theme" aria-label="<?php echo esc_attr( $preview_label ); ?>" data-slug="{{ data.theme.id }}"><?php _e( 'Live Preview' ); ?></button>
					</div>
				</div>
				<div class="notice notice-success notice-alt"><p><?php _ex( 'Installed', 'theme' ); ?></p></div>
			<# } else { #>
				<div class="theme-id-container">
					<h3 class="theme-name" id="{{ data.section }}-{{ data.theme.id }}-name">{{ data.theme.name }}</h3>
					<div class="theme-actions">
						<button type="button" class="button button-primary theme-install preview" aria-label="<?php echo esc_attr( $install_label ); ?>" data-slug="{{ data.theme.id }}" data-name="{{ data.theme.name }}"><?php _e( 'Install &amp; Preview' ); ?></button>
					</div>
				</div>
			<# } #>
		</div>
		<?php
	}
}


Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
23 Apr 2026 9.56 AM
root / root
0755
class-wp-customize-background-image-control.php
1.18 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-background-image-setting.php
0.496 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-background-position-control.php
2.882 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-code-editor-control.php
2.259 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-color-control.php
2.813 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-cropped-image-control.php
1.426 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-custom-css-setting.php
4.775 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-date-time-control.php
8.416 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-filter-setting.php
0.574 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-header-image-control.php
7.714 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-header-image-setting.php
1.596 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-image-control.php
1.048 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-media-control.php
9.063 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-nav-menu-auto-add-control.php
1.096 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-nav-menu-control.php
1.987 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-nav-menu-item-control.php
6.323 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-nav-menu-item-setting.php
26.441 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-nav-menu-location-control.php
2.225 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-nav-menu-locations-control.php
2.787 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-nav-menu-name-control.php
1.104 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-nav-menu-section.php
0.703 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-nav-menu-setting.php
18.486 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-nav-menus-panel.php
3.014 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-new-menu-control.php
1.341 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-new-menu-section.php
1.634 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-partial.php
8.647 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-selective-refresh.php
14.789 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-sidebar-section.php
1.034 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-site-icon-control.php
3.186 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-theme-control.php
4.363 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-themes-panel.php
3.16 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-themes-section.php
6.457 KB
22 Apr 2026 7.17 AM
root / root
0644
class-wp-customize-upload-control.php
0.96 KB
22 Apr 2026 7.17 AM
root / root
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF