/** * Constructor * * @since 2.2.2 * * @param CMB2_Types $types * @param array $args */ public function __construct(CMB2_Types $types, $args = array(), $value = '') { parent::__construct($types, $args); $this->value = $value ? $value : $this->value; }
/** * Constructor * * @since 2.2.2 * * @param CMB2_Types $types * @param array $args */ public function __construct(CMB2_Types $types, $args = array(), $is_checked = null) { parent::__construct($types, $args); $this->is_checked = $is_checked; }