3 * Customize API: WP_Customize_Image_Control class
6 * @subpackage Customize
11 * Customize Image Control class.
15 * @see WP_Customize_Upload_Control
17 class WP_Customize_Image_Control extends WP_Customize_Upload_Control {
18 public $type = 'image';
19 public $mime_type = 'image';
25 * @uses WP_Customize_Upload_Control::__construct()
27 * @param WP_Customize_Manager $manager Customizer bootstrap instance.
28 * @param string $id Control ID.
29 * @param array $args Optional. Arguments to override class property defaults.
31 public function __construct( $manager, $id, $args = array() ) {
32 parent::__construct( $manager, $id, $args );
34 $this->button_labels = wp_parse_args( $this->button_labels, array(
35 'select' => __( 'Select Image' ),
36 'change' => __( 'Change Image' ),
37 'remove' => __( 'Remove' ),
38 'default' => __( 'Default' ),
39 'placeholder' => __( 'No image selected' ),
40 'frame_title' => __( 'Select Image' ),
41 'frame_button' => __( 'Choose Image' ),
49 public function prepare_control() {}
56 * @param string $label
57 * @param mixed $callback
59 public function add_tab( $id, $label, $callback ) {}
67 public function remove_tab( $id ) {}
74 * @param string $thumbnail_url
76 public function print_tab_image( $url, $thumbnail_url = null ) {}