args = $args; parent::__construct($manager, $id, $args); } /** * Render the content of the category dropdown */ public function render_content() { if (! array_key_exists('choices', $this->args)) { $this->args['choices'] = []; } if (! is_array($this->args['choices'])) { $this->args['choices'] = []; } ?>