curver/functions/kirki/field/class-kirki-field-select2-multiple.php

28 lines
621 B
PHP
Raw Normal View History

2019-02-10 20:21:07 +01:00
<?php
/**
* Override field methods
*
* @package Kirki
* @subpackage Controls
2019-02-17 14:28:35 +01:00
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
2019-02-10 20:21:07 +01:00
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/
/**
* This is nothing more than an alias for the Kirki_Field_Select class.
* In older versions of Kirki there was a separate 'select2' field.
* This exists here just for compatibility purposes.
*/
class Kirki_Field_Select2_Multiple extends Kirki_Field_Select {
/**
* Sets the $multiple
*
* @access protected
*/
protected function set_multiple() {
$this->multiple = 999;
}
}