Constructor.
Description
See also
Parameters
$manager
WP_Customize_Managerrequired- Customizer bootstrap instance.
$id
stringrequired- Control ID.
$args
arrayoptional- Arguments to override class property defaults.
See WP_Customize_Control::__construct() for information on accepted arguments.Default:
array()
Source
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() );
}
Changelog
Version | Description |
---|---|
4.2.0 | Moved from WP_Customize_Upload_Control. |
4.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.