$opt ) { if ( isset( $shortcode_atts ) && isset( $shortcode_atts['opt'] ) && $shortcode_atts['opt'] !== $opt_key ) { continue; } if ( FrmFieldsHelper::should_hide_field_choice( $opt_key, $field ) ) { continue; } $field_val = FrmFieldsHelper::get_value_from_array( $opt, $opt_key, $field ); $opt = FrmFieldsHelper::get_label_from_array( $opt, $opt_key, $field ); /** * Allows changing the HTML of option label in choice field (radio, checkbox,...). * * @since 5.0.04 * * @param string $label Label HTML. * @param array $args The arguments. Contains `field` and `field_val`. */ $label = apply_filters( 'frm_choice_field_option_label', $opt, compact( 'field', 'field_val' ) ); ?>