[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/customize/ -> class-wp-customize-image-control.php (source)

   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      /**
  19       * Control type.
  20       *
  21       * @since 3.4.0
  22       * @var string
  23       */
  24      public $type = 'image';
  25  
  26      /**
  27       * Media control mime type.
  28       *
  29       * @since 4.1.0
  30       * @var string
  31       */
  32      public $mime_type = 'image';
  33  
  34      /**
  35       * @since 3.4.2
  36       * @deprecated 4.1.0
  37       */
  38  	public function prepare_control() {}
  39  
  40      /**
  41       * @since 3.4.0
  42       * @deprecated 4.1.0
  43       *
  44       * @param string $id
  45       * @param string $label
  46       * @param mixed  $callback
  47       */
  48  	public function add_tab( $id, $label, $callback ) {
  49          _deprecated_function( __METHOD__, '4.1.0' );
  50      }
  51  
  52      /**
  53       * @since 3.4.0
  54       * @deprecated 4.1.0
  55       *
  56       * @param string $id
  57       */
  58  	public function remove_tab( $id ) {
  59          _deprecated_function( __METHOD__, '4.1.0' );
  60      }
  61  
  62      /**
  63       * @since 3.4.0
  64       * @deprecated 4.1.0
  65       *
  66       * @param string $url
  67       * @param string $thumbnail_url
  68       */
  69  	public function print_tab_image( $url, $thumbnail_url = null ) {
  70          _deprecated_function( __METHOD__, '4.1.0' );
  71      }
  72  }


Generated: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1