home *** CD-ROM | disk | FTP | other *** search
/ HTML Examples / WP.iso / wordpress / wp-includes / customize / class-wp-customize-image-control.php < prev    next >
Encoding:
PHP Script  |  2017-09-20  |  1.1 KB  |  60 lines

  1. <?php
  2. /**
  3.  * Customize API: WP_Customize_Image_Control class
  4.  *
  5.  * @package WordPress
  6.  * @subpackage Customize
  7.  * @since 4.4.0
  8.  */
  9.  
  10. /**
  11.  * Customize Image Control class.
  12.  *
  13.  * @since 3.4.0
  14.  *
  15.  * @see WP_Customize_Upload_Control
  16.  */
  17. class WP_Customize_Image_Control extends WP_Customize_Upload_Control {
  18.     public $type = 'image';
  19.     public $mime_type = 'image';
  20.  
  21.     /**
  22.      * @since 3.4.2
  23.      * @deprecated 4.1.0
  24.      */
  25.     public function prepare_control() {}
  26.  
  27.     /**
  28.      * @since 3.4.0
  29.      * @deprecated 4.1.0
  30.      *
  31.      * @param string $id
  32.      * @param string $label
  33.      * @param mixed $callback
  34.      */
  35.     public function add_tab( $id, $label, $callback ) {
  36.         _deprecated_function( __METHOD__, '4.1.0' );
  37.     }
  38.  
  39.     /**
  40.      * @since 3.4.0
  41.      * @deprecated 4.1.0
  42.      *
  43.      * @param string $id
  44.      */
  45.     public function remove_tab( $id ) {
  46.         _deprecated_function( __METHOD__, '4.1.0' );
  47.     }
  48.  
  49.     /**
  50.      * @since 3.4.0
  51.      * @deprecated 4.1.0
  52.      *
  53.      * @param string $url
  54.      * @param string $thumbnail_url
  55.      */
  56.     public function print_tab_image( $url, $thumbnail_url = null ) {
  57.         _deprecated_function( __METHOD__, '4.1.0' );
  58.     }
  59. }
  60.