loader()->getSlug(), ELANTA_BUILDER_PATH . 'cornerstone/shortcode' ); } } } public function select_value_params( $value_param ) { foreach ( $value_param as &$param ) { if ( ! empty( $param['type'] ) && 'select' == $param['type'] ) { $options = $param['options']; unset( $param['options'] ); foreach ( $options as $key => $option ) { $param['options']['choices'][] = array( 'value' => $key, 'label' => $option ); } } } return $value_param; } public function addons_cs_icon_map( $icon_map ) { $icon_map['elenta-icons'] = PANORAMAVIEWER_URL . 'data/assets/svg/icons.svg'; return $icon_map; } }