1,
// 'b' => 2,
// 'c' => 3
// );
// $args = wp_parse_args( $args, $defaults );
$this->args = $args['choices'];
$this->img = $args['generic_img'];
$this->id = $id;
}
public function render_content() {
?>
args as $value){
if ($this->img):
$img_src = "/wp-content/themes/caper/assets/img" . "/" . $value . ".png";
else:
$img_src = "/wp-content/themes/caper/assets/img" . "/" . $this->id . $value . ".png";
endif;
?>