public function __construct($control_name) { parent::__construct($control_name); //fix kirki generate notice when default value isn't sets $this->setDefault(''); }
public function __construct($name) { parent::__construct('content'); }
/** * The default value of the chooser, * 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 $name default empty string * * @throws Exception */ public function __construct($name = '') { parent::__construct($name); }