/** * * Default value of multifileds, refers to an item choice value or smart tags: {{first}} / {{last}}. * * @param string $default * * @return $this * @access public */ public function setDefault($default) { parent::setDefault(array($default)); return $this; }
/** * * Class constructor * * @param string $control_name * * @throws \SilverWp\Customizer\Control\Exception */ public function __construct($control_name) { parent::__construct($control_name); $this->setName($control_name); }
/** * Class constructor * * @param string $name field name * * @access public */ public function __construct($name) { parent::__construct($name); $this->setRepeating(false); }