Beta Shell
v2.0 ยท web2.us.cloudlogin.co
[FM]
[CMD]
[PHP]
[DB]
[INFO]
[SEC]
File Manager
~
/
home
/
www
/
udesignitpk.com
/
wp-includes
/
customize
Upload
38 items
Name
Size
Perms
Modified
Actions
[ .. / .. ]
class-wp-customize-background-image-control.php
1.25 KB
-rw-r--r--
2022-05-18 20:54:14
Edit
Del
class-wp-customize-background-image-setting.php
639 B
-rw-r--r--
2022-05-18 20:54:14
Edit
Del
class-wp-customize-background-position-control.php
2.96 KB
-rw-r--r--
2023-02-07 22:40:22
Edit
Del
class-wp-customize-code-editor-control.php
2.26 KB
-rw-r--r--
2020-06-17 02:37:14
Edit
Del
class-wp-customize-color-control.php
3.13 KB
-rw-r--r--
2026-04-25 18:32:48
Edit
Del
class-wp-customize-cropped-image-control.php
1.42 KB
-rw-r--r--
2023-11-07 23:21:15
Edit
Del
class-wp-customize-custom-css-setting.php
5.16 KB
-rw-r--r--
2026-04-25 18:32:49
Edit
Del
class-wp-customize-date-time-control.php
9.22 KB
-rw-r--r--
2026-04-25 18:32:48
Edit
Del
class-wp-customize-filter-setting.php
588 B
-rw-r--r--
2017-07-27 06:11:44
Edit
Del
class-wp-customize-header-image-control.php
7.84 KB
-rw-r--r--
2026-04-25 18:32:48
Edit
Del
class-wp-customize-header-image-setting.php
1.74 KB
-rw-r--r--
2023-08-08 23:20:26
Edit
Del
class-wp-customize-image-control.php
1.18 KB
-rw-r--r--
2020-11-22 21:23:04
Edit
Del
class-wp-customize-media-control.php
9.18 KB
-rw-r--r--
2026-04-25 18:32:48
Edit
Del
class-wp-customize-nav-menu-auto-add-control.php
1.1 KB
-rw-r--r--
2017-10-05 07:52:50
Edit
Del
class-wp-customize-nav-menu-control.php
2.08 KB
-rw-r--r--
2023-02-07 22:40:22
Edit
Del
class-wp-customize-nav-menu-item-control.php
7.97 KB
-rw-r--r--
2024-07-16 23:25:20
Edit
Del
class-wp-customize-nav-menu-item-setting.php
27.22 KB
-rw-r--r--
2026-04-25 18:32:48
Edit
Del
class-wp-customize-nav-menu-location-control.php
2.25 KB
-rw-r--r--
2024-04-02 23:21:48
Edit
Del
class-wp-customize-nav-menu-locations-control.php
2.75 KB
-rw-r--r--
2023-02-23 16:36:20
Edit
Del
class-wp-customize-nav-menu-name-control.php
1.1 KB
-rw-r--r--
2017-10-05 07:52:50
Edit
Del
class-wp-customize-nav-menu-section.php
716 B
-rw-r--r--
2020-10-09 02:45:14
Edit
Del
class-wp-customize-nav-menu-setting.php
18.49 KB
-rw-r--r--
2022-01-19 01:59:06
Edit
Del
class-wp-customize-nav-menus-panel.php
3.23 KB
-rw-r--r--
2023-02-07 22:40:22
Edit
Del
class-wp-customize-new-menu-control.php
1.67 KB
-rw-r--r--
2020-02-26 19:00:08
Edit
Del
class-wp-customize-new-menu-section.php
1.65 KB
-rw-r--r--
2020-02-26 21:03:06
Edit
Del
class-wp-customize-partial.php
10.32 KB
-rw-r--r--
2022-09-12 21:17:14
Edit
Del
class-wp-customize-selective-refresh.php
13.52 KB
-rw-r--r--
2026-04-25 18:32:49
Edit
Del
class-wp-customize-sidebar-section.php
1.03 KB
-rw-r--r--
2017-12-01 04:41:00
Edit
Del
class-wp-customize-site-icon-control.php
5.04 KB
-rw-r--r--
2026-04-25 18:32:48
Edit
Del
class-wp-customize-theme-control.php
11.61 KB
-rw-r--r--
2023-11-07 23:21:15
Edit
Del
class-wp-customize-themes-panel.php
3.31 KB
-rw-r--r--
2024-11-12 23:23:05
Edit
Del
class-wp-customize-themes-section.php
6.79 KB
-rw-r--r--
2026-04-25 18:32:48
Edit
Del
class-wp-customize-upload-control.php
1.17 KB
-rw-r--r--
2020-11-22 21:21:04
Edit
Del
class-wp-sidebar-block-editor-control.php
686 B
-rw-r--r--
2021-05-25 14:22:58
Edit
Del
class-wp-widget-area-customize-control.php
1.68 KB
-rw-r--r--
2023-02-07 22:40:22
Edit
Del
class-wp-widget-form-customize-control.php
2.58 KB
-rw-r--r--
2019-04-13 10:16:52
Edit
Del
Editing: class-wp-customize-background-position-control.php
(2.96 KB)
Path: /home/www/udesignitpk.com/wp-includes/customize/class-wp-customize-background-position-control.php
Back
<?php /** * Customize API: WP_Customize_Background_Position_Control class * * @package WordPress * @subpackage Customize * @since 4.7.0 */ /** * Customize Background Position Control class. * * @since 4.7.0 * * @see WP_Customize_Control */ class WP_Customize_Background_Position_Control extends WP_Customize_Control { /** * Type. * * @since 4.7.0 * @var string */ public $type = 'background_position'; /** * Don't render the control content from PHP, as it's rendered via JS on load. * * @since 4.7.0 */ public function render_content() {} /** * Render a JS template for the content of the position control. * * @since 4.7.0 */ public function content_template() { $options = array( array( 'left top' => array( 'label' => __( 'Top Left' ), 'icon' => 'dashicons dashicons-arrow-left-alt', ), 'center top' => array( 'label' => __( 'Top' ), 'icon' => 'dashicons dashicons-arrow-up-alt', ), 'right top' => array( 'label' => __( 'Top Right' ), 'icon' => 'dashicons dashicons-arrow-right-alt', ), ), array( 'left center' => array( 'label' => __( 'Left' ), 'icon' => 'dashicons dashicons-arrow-left-alt', ), 'center center' => array( 'label' => __( 'Center' ), 'icon' => 'background-position-center-icon', ), 'right center' => array( 'label' => __( 'Right' ), 'icon' => 'dashicons dashicons-arrow-right-alt', ), ), array( 'left bottom' => array( 'label' => __( 'Bottom Left' ), 'icon' => 'dashicons dashicons-arrow-left-alt', ), 'center bottom' => array( 'label' => __( 'Bottom' ), 'icon' => 'dashicons dashicons-arrow-down-alt', ), 'right bottom' => array( 'label' => __( 'Bottom Right' ), 'icon' => 'dashicons dashicons-arrow-right-alt', ), ), ); ?> <# if ( data.label ) { #> <span class="customize-control-title">{{{ data.label }}}</span> <# } #> <# if ( data.description ) { #> <span class="description customize-control-description">{{{ data.description }}}</span> <# } #> <div class="customize-control-content"> <fieldset> <legend class="screen-reader-text"><span> <?php /* translators: Hidden accessibility text. */ _e( 'Image Position' ); ?> </span></legend> <div class="background-position-control"> <?php foreach ( $options as $group ) : ?> <div class="button-group"> <?php foreach ( $group as $value => $input ) : ?> <label> <input class="ui-helper-hidden-accessible" name="background-position" type="radio" value="<?php echo esc_attr( $value ); ?>"> <span class="button display-options position"><span class="<?php echo esc_attr( $input['icon'] ); ?>" aria-hidden="true"></span></span> <span class="screen-reader-text"><?php echo $input['label']; ?></span> </label> <?php endforeach; ?> </div> <?php endforeach; ?> </div> </fieldset> </div> <?php } }