image_path = $args['image_path']; $this->choices = $args['choices']; parent::__construct($manager, $id, $args); } public function enqueue() { wp_enqueue_style('business-roy-image-select-control', get_template_directory_uri() . '/inc/custom-controller/image-select/image-select.css', array(), '1.0.0'); wp_enqueue_script('business-roy-image-select-control', get_template_directory_uri().'/inc/custom-controller/image-select/image-select.js', array( 'jquery' ), '1.0.0', true); } public function render_content() { if (!empty($this->choices)) { ?>