WP_Customize_Image_Control::__construct( WP_Customize_Manager $manager, string $id, array $args = array() )
Constructor.
Parameters
- $manager
-
(WP_Customize_Manager) (Required) Customizer bootstrap instance.
- $id
-
(string) (Required) Control ID.
- $args
-
(array) (Optional) Arguments to override class property defaults.
Default value: array()
Source
File: wp-includes/customize/class-wp-customize-image-control.php
*/ public $mime_type = 'image'; /** * @since 3.4.2 * @deprecated 4.1.0 */ public function prepare_control() {} /** * @since 3.4.0 * @deprecated 4.1.0 *
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_image_control/__construct