Update Suggestion
-
Hi,
I’d love to see a possibility to turn off the wrapping spans.Something like this would be great:
(eg. modules/text.php in ll. 75-86)$html = wpcf7_html_wrapper( $tag->name, $atts, $validation_error ); return $html; } function wpcf7_html_wrapper($name, $atts, $validation_error) { if('WPCF7_WRAP_HTML'){ return sprintf( '<span class="wpcf7-form-control-wrap %1$s"><input %2$s />%3$s</span>', sanitize_html_class( $name ), $atts, $validation_error ); } else { return sprintf( '<input %1$s />%2$s', $atts, $validation_error ); } }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Update Suggestion’ is closed to new replies.