GRAYBYTE WORDPRESS FILE MANAGER6808

Server IP : 198.54.121.189 / Your IP : 216.73.216.34
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/chahida.co.in/wp-includes/customize/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/chahida.co.in/wp-includes/customize//class-wp-widget-form-customize-control.php
<?php
/**
 * Customize API: WP_Widget_Form_Customize_Control class
 *
 * @package WordPress
 * @subpackage Customize
 * @since 4.4.0
 */

/**
 * Widget Form Customize Control class.
 *
 * @since 3.9.0
 *
 * @see WP_Customize_Control
 */
class WP_Widget_Form_Customize_Control extends WP_Customize_Control {
	/**
	 * Customize control type.
	 *
	 * @since 3.9.0
	 * @var string
	 */
	public $type = 'widget_form';

	/**
	 * Widget ID.
	 *
	 * @since 3.9.0
	 * @var string
	 */
	public $widget_id;

	/**
	 * Widget ID base.
	 *
	 * @since 3.9.0
	 * @var string
	 */
	public $widget_id_base;

	/**
	 * Sidebar ID.
	 *
	 * @since 3.9.0
	 * @var string
	 */
	public $sidebar_id;

	/**
	 * Widget status.
	 *
	 * @since 3.9.0
	 * @var bool True if new, false otherwise. Default false.
	 */
	public $is_new = false;

	/**
	 * Widget width.
	 *
	 * @since 3.9.0
	 * @var int
	 */
	public $width;

	/**
	 * Widget height.
	 *
	 * @since 3.9.0
	 * @var int
	 */
	public $height;

	/**
	 * Widget mode.
	 *
	 * @since 3.9.0
	 * @var bool True if wide, false otherwise. Default false.
	 */
	public $is_wide = false;

	/**
	 * Gather control params for exporting to JavaScript.
	 *
	 * @since 3.9.0
	 *
	 * @global array $wp_registered_widgets
	 */
	public function to_json() {
		global $wp_registered_widgets;

		parent::to_json();
		$exported_properties = array( 'widget_id', 'widget_id_base', 'sidebar_id', 'width', 'height', 'is_wide' );
		foreach ( $exported_properties as $key ) {
			$this->json[ $key ] = $this->$key;
		}

		// Get the widget_control and widget_content.
		require_once ABSPATH . 'wp-admin/includes/widgets.php';

		$widget = $wp_registered_widgets[ $this->widget_id ];
		if ( ! isset( $widget['params'][0] ) ) {
			$widget['params'][0] = array();
		}

		$args = array(
			'widget_id'   => $widget['id'],
			'widget_name' => $widget['name'],
		);

		$args                 = wp_list_widget_controls_dynamic_sidebar(
			array(
				0 => $args,
				1 => $widget['params'][0],
			)
		);
		$widget_control_parts = $this->manager->widgets->get_widget_control_parts( $args );

		$this->json['widget_control'] = $widget_control_parts['control'];
		$this->json['widget_content'] = $widget_control_parts['content'];
	}

	/**
	 * Override render_content to be no-op since content is exported via to_json for deferred embedding.
	 *
	 * @since 3.9.0
	 */
	public function render_content() {}

	/**
	 * Whether the current widget is rendered on the page.
	 *
	 * @since 4.0.0
	 *
	 * @return bool Whether the widget is rendered.
	 */
	public function active_callback() {
		return $this->manager->widgets->is_widget_rendered( $this->widget_id );
	}
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:19
giriqfky / giriqfky
0755
.htaccess
0.41 KB
July 10 2025 04:32:19
giriqfky / giriqfky
0644
class-wp-customize-background-image-control.php
1.254 KB
May 18 2022 19:24:14
giriqfky / giriqfky
0644
class-wp-customize-background-image-setting.php
0.624 KB
May 18 2022 19:24:14
giriqfky / giriqfky
0644
class-wp-customize-background-position-control.php
2.961 KB
February 07 2023 22:10:22
giriqfky / giriqfky
0644
class-wp-customize-code-editor-control.php
2.263 KB
June 17 2020 01:07:14
giriqfky / giriqfky
0644
class-wp-customize-color-control.php
2.994 KB
February 26 2020 18:30:08
giriqfky / giriqfky
0644
class-wp-customize-cropped-image-control.php
1.425 KB
September 08 2023 13:32:24
giriqfky / giriqfky
0644
class-wp-customize-custom-css-setting.php
5.164 KB
September 09 2021 19:18:56
giriqfky / giriqfky
0644
class-wp-customize-date-time-control.php
9.225 KB
March 06 2025 04:27:22
giriqfky / giriqfky
0644
class-wp-customize-filter-setting.php
0.574 KB
July 27 2017 04:41:44
giriqfky / giriqfky
0644
class-wp-customize-header-image-control.php
7.842 KB
February 08 2025 16:44:24
giriqfky / giriqfky
0644
class-wp-customize-header-image-setting.php
1.74 KB
July 11 2023 03:00:22
giriqfky / giriqfky
0644
class-wp-customize-image-control.php
1.183 KB
November 22 2020 20:53:04
giriqfky / giriqfky
0644
class-wp-customize-media-control.php
9.194 KB
March 05 2024 05:12:12
giriqfky / giriqfky
0644
class-wp-customize-nav-menu-auto-add-control.php
1.096 KB
October 05 2017 06:22:50
giriqfky / giriqfky
0644
class-wp-customize-nav-menu-control.php
2.078 KB
February 07 2023 22:10:22
giriqfky / giriqfky
0644
class-wp-customize-nav-menu-item-control.php
7.966 KB
June 04 2024 00:35:14
giriqfky / giriqfky
0644
class-wp-customize-nav-menu-item-setting.php
26.921 KB
September 08 2023 14:03:22
giriqfky / giriqfky
0644
class-wp-customize-nav-menu-location-control.php
2.245 KB
January 28 2024 12:50:18
giriqfky / giriqfky
0644
class-wp-customize-nav-menu-locations-control.php
2.751 KB
February 23 2023 16:06:20
giriqfky / giriqfky
0644
class-wp-customize-nav-menu-name-control.php
1.104 KB
October 05 2017 06:22:50
giriqfky / giriqfky
0644
class-wp-customize-nav-menu-section.php
0.699 KB
October 09 2020 01:15:14
giriqfky / giriqfky
0644
class-wp-customize-nav-menu-setting.php
18.492 KB
January 19 2022 01:29:06
giriqfky / giriqfky
0644
class-wp-customize-nav-menus-panel.php
3.231 KB
February 07 2023 22:10:22
giriqfky / giriqfky
0644
class-wp-customize-new-menu-control.php
1.67 KB
February 26 2020 18:30:08
giriqfky / giriqfky
0644
class-wp-customize-new-menu-section.php
1.653 KB
February 26 2020 20:33:06
giriqfky / giriqfky
0644
class-wp-customize-partial.php
10.32 KB
September 12 2022 19:47:14
giriqfky / giriqfky
0644
class-wp-customize-selective-refresh.php
13.432 KB
September 26 2023 01:05:22
giriqfky / giriqfky
0644
class-wp-customize-sidebar-section.php
1.034 KB
December 01 2017 04:11:00
giriqfky / giriqfky
0644
class-wp-customize-site-icon-control.php
5.052 KB
August 24 2024 02:47:16
giriqfky / giriqfky
0644
class-wp-customize-theme-control.php
11.61 KB
September 14 2023 05:25:16
giriqfky / giriqfky
0644
class-wp-customize-themes-panel.php
3.306 KB
October 13 2024 23:09:12
giriqfky / giriqfky
0644
class-wp-customize-themes-section.php
6.792 KB
March 18 2025 17:15:22
giriqfky / giriqfky
0644
class-wp-customize-upload-control.php
1.169 KB
November 22 2020 20:51:04
giriqfky / giriqfky
0644
class-wp-sidebar-block-editor-control.php
0.67 KB
May 25 2021 12:52:58
giriqfky / giriqfky
0644
class-wp-widget-area-customize-control.php
1.679 KB
February 07 2023 22:10:22
giriqfky / giriqfky
0644
class-wp-widget-form-customize-control.php
2.584 KB
April 13 2019 08:46:52
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF