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