$opt ) { if ( isset( $shortcode_atts ) && isset( $shortcode_atts['opt'] ) && ( $shortcode_atts['opt'] !== $opt_key ) ) { 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`. */ $label = apply_filters( 'frm_choice_field_option_label', $opt, compact( 'field' ) ); ?>