$61 GRAYBYTE WORDPRESS FILE MANAGER $20

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/var/softaculous/sitepad/editor/site-inc/customize/

HOME
Current File : /var/softaculous/sitepad/editor/site-inc/customize//class-wp-customize-site-icon-control.php
<?php
/**
 * Customize API: WP_Customize_Site_Icon_Control class
 *
 * @package WordPress
 * @subpackage Customize
 * @since 4.4.0
 */

/**
 * Customize Site Icon control class.
 *
 * Used only for custom functionality in JavaScript.
 *
 * @since 4.3.0
 *
 * @see WP_Customize_Cropped_Image_Control
 */
class WP_Customize_Site_Icon_Control extends WP_Customize_Cropped_Image_Control {

	/**
	 * Control type.
	 *
	 * @since 4.3.0
	 * @var string
	 */
	public $type = 'site_icon';

	/**
	 * Constructor.
	 *
	 * @since 4.3.0
	 *
	 * @param WP_Customize_Manager $manager Customizer bootstrap instance.
	 * @param string               $id      Control ID.
	 * @param array                $args    Optional. Arguments to override class property defaults.
	 */
	public function __construct( $manager, $id, $args = array() ) {
		parent::__construct( $manager, $id, $args );
		add_action( 'customize_controls_print_styles', 'wp_site_icon', 99 );
	}

	/**
	 * Renders a JS template for the content of the site icon control.
	 *
	 * @since 4.5.0
	 */
	public function content_template() {
		?>
		<label for="{{ data.settings['default'] }}-button">
			<# if ( data.label ) { #>
				<span class="customize-control-title">{{ data.label }}</span>
			<# } #>
			<# if ( data.description ) { #>
				<span class="description customize-control-description">{{{ data.description }}}</span>
			<# } #>
		</label>

		<# if ( data.attachment && data.attachment.id ) { #>
			<div class="attachment-media-view">
				<# if ( data.attachment.sizes ) { #>
					<div class="site-icon-preview wp-clearfix">
						<div class="favicon-preview">
							<img src="<?php echo esc_url( admin_url( 'images/' . ( is_rtl() ? 'browser-rtl.png' : 'browser.png' ) ) ); ?>" class="browser-preview" width="182" alt="" />

							<div class="favicon">
								<img src="{{ data.attachment.sizes.full ? data.attachment.sizes.full.url : data.attachment.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>"/>
							</div>
							<span class="browser-title" aria-hidden="true"><?php bloginfo( 'name' ); ?></span>
						</div>
						<img class="app-icon-preview" src="{{ data.attachment.sizes.full ? data.attachment.sizes.full.url : data.attachment.url }}" alt="<?php esc_attr_e( 'Preview as an app icon' ); ?>"/>
					</div>
				<# } #>
				<div class="actions">
					<# if ( data.canUpload ) { #>
						<button type="button" class="button remove-button"><?php echo $this->button_labels['remove']; ?></button>
						<button type="button" class="button upload-button" id="{{ data.settings['default'] }}-button"><?php echo $this->button_labels['change']; ?></button>
					<# } #>
				</div>
			</div>
		<# } else { #>
			<div class="attachment-media-view">
				<div class="placeholder">
					<?php echo $this->button_labels['placeholder']; ?>
				</div>
				<div class="actions">
					<# if ( data.defaultAttachment ) { #>
						<button type="button" class="button default-button"><?php echo $this->button_labels['default']; ?></button>
					<# } #>
					<# if ( data.canUpload ) { #>
						<button type="button" class="button upload-button" id="{{ data.settings['default'] }}-button"><?php echo $this->button_labels['select']; ?></button>
					<# } #>
				</div>
			</div>
		<# } #>
		<?php
	}
}


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
21 Feb 2026 2.55 AM
root / root
0755
class-wp-customize-background-image-control.php
1.18 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-background-image-setting.php
0.496 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-background-position-control.php
2.882 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-code-editor-control.php
2.259 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-color-control.php
2.813 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-cropped-image-control.php
1.426 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-custom-css-setting.php
4.775 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-date-time-control.php
8.416 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-filter-setting.php
0.574 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-header-image-control.php
7.714 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-header-image-setting.php
1.596 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-image-control.php
1.048 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-media-control.php
9.063 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-nav-menu-auto-add-control.php
1.096 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-nav-menu-control.php
1.987 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-nav-menu-item-control.php
6.323 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-nav-menu-item-setting.php
26.441 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-nav-menu-location-control.php
2.225 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-nav-menu-locations-control.php
2.787 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-nav-menu-name-control.php
1.104 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-nav-menu-section.php
0.703 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-nav-menu-setting.php
18.486 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-nav-menus-panel.php
3.014 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-new-menu-control.php
1.341 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-new-menu-section.php
1.634 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-partial.php
8.647 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-selective-refresh.php
14.789 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-sidebar-section.php
1.034 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-site-icon-control.php
3.186 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-theme-control.php
4.363 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-themes-panel.php
3.16 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-themes-section.php
6.457 KB
18 Feb 2026 11.32 PM
root / root
0644
class-wp-customize-upload-control.php
0.96 KB
18 Feb 2026 11.32 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF