Parsed: 115639
<?php /** * WordPress Customize Control classes * * @package WordPress * @subpackage Customize * @since 3.4.0 */ #[AllowDynamicProperties] /* class WP_Customize_Control */ /* function WP_Customize_Control::__construct() – Constructor. */ /* function WP_Customize_Control::enqueue() – Enqueue control related scripts/styles. */ /* function WP_Customize_Control::active() – Check whether control is active to current Customizer preview. */ /* function WP_Customize_Control::active_callback() – Default callback used when invoking WP_Customize_Control::active(). */ /* function WP_Customize_Control::value() – Fetch a setting’s value. */ /* function WP_Customize_Control::to_json() – Refresh the parameters passed to the JavaScript via JSON. */ /* function WP_Customize_Control::json() – Get the data to export to the client via JSON. */ /* function WP_Customize_Control::check_capabilities() – Checks if the user can use this control. */ /* function WP_Customize_Control::get_content() – Get the control’s content for insertion into the Customizer pane. */ /* function WP_Customize_Control::maybe_render() – Check capabilities and render the control. */ /* function WP_Customize_Control::render() – Renders the control wrapper and calls $this->render_content() for the internals. */ /* function WP_Customize_Control::get_link() – Get the data link attribute for a setting. */ /* function WP_Customize_Control::link() – Render the data link attribute for the control’s input element. */ /* function WP_Customize_Control::input_attrs() – Render the custom attributes for the control’s input element. */ /* function WP_Customize_Control::render_content() – Render the control’s content. */ /* function WP_Customize_Control::print_template() – Render the control’s JS template. */ /* function WP_Customize_Control::content_template() – An Underscore (JS) template for this control’s content (but not its container). */ /** * WP_Customize_Color_Control class. */ require_once ABSPATH . WPINC . '/customize/class-wp-customize-color-control.php'; /** * WP_Customize_Media_Control class. */ require_once ABSPATH . WPINC . '/customize/class-wp-customize-media-control.php'; /** * WP_Customize_Upload_Control class. */ require_once ABSPATH . WPINC . '/customize/class-wp-customize-upload-control.php'; /** * WP_Customize_Image_Control class. */ require_once ABSPATH . WPINC . '/customize/class-wp-customize-image-control.php'; /** * WP_Customize_Background_Image_Control class. */ require_once ABSPATH . WPINC . '/customize/class-wp-customize-background-image-control.php'; /** * WP_Customize_Background_Position_Control class. */ require_once ABSPATH . WPINC . '/customize/class-wp-customize-background-position-control.php'; /** * WP_Customize_Cropped_Image_Control class. */ require_once ABSPATH . WPINC . '/customize/class-wp-customize-cropped-image-control.php'; /** * WP_Customize_Site_Icon_Control class. */ require_once ABSPATH . WPINC . '/customize/class-wp-customize-site-icon-control.php'; /** * WP_Customize_Header_Image_Control class. */ require_once ABSPATH . WPINC . '/customize/class-wp-customize-header-image-control.php'; /** * WP_Customize_Theme_Control class. */ require_once ABSPATH . WPINC . '/customize/class-wp-customize-theme-control.php'; /** * WP_Widget_Area_Customize_Control class. */ require_once ABSPATH . WPINC . '/customize/class-wp-widget-area-customize-control.php'; /** * WP_Widget_Form_Customize_Control class. */ require_once ABSPATH . WPINC . '/customize/class-wp-widget-form-customize-control.php'; /** * WP_Customize_Nav_Menu_Control class. */ require_once ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-control.php'; /** * WP_Customize_Nav_Menu_Item_Control class. */ require_once ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-item-control.php'; /** * WP_Customize_Nav_Menu_Location_Control class. */ require_once ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-location-control.php'; /** * WP_Customize_Nav_Menu_Name_Control class. * * As this file is deprecated, it will trigger a deprecation notice if instantiated. In a subsequent * release, the require_once here will be removed and _deprecated_file() will be called if file is * required at all. * * @deprecated 4.9.0 This file is no longer used due to new menu creation UX. */ require_once ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-name-control.php'; /** * WP_Customize_Nav_Menu_Locations_Control class. */ require_once ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-locations-control.php'; /** * WP_Customize_Nav_Menu_Auto_Add_Control class. */ require_once ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-auto-add-control.php'; /** * WP_Customize_Date_Time_Control class. */ require_once ABSPATH . WPINC . '/customize/class-wp-customize-date-time-control.php'; /** * WP_Sidebar_Block_Editor_Control class. */ require_once ABSPATH . WPINC . '/customize/class-wp-sidebar-block-editor-control.php';