Constructor.
$managerWP_Customize_Managerrequired
$idstringrequired
$argsarrayoptional
Default:array()
public function __construct( $manager, $id, $args = array() ) {
parent::__construct( $manager, $id, $args );
$this->button_labels = wp_parse_args( $this->button_labels, $this->get_default_button_labels() );
}
| Version | Description |
|---|---|
| 4.2.0 | Moved from WP_Customize_Upload_Control. |
| 4.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_media_control/__construct