Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter('wpcf7_form_elements', function($content) {
- $content = preg_replace('/<(span).*?class="\s*(?:.*\s)?wpcf7-form-control-wrap(?:\s[^"]+)?\s*"[^\>]*>(.*)<\/\1>/i', '\2', $content);
- return $content;
- });
Add Comment
Please, Sign In to add comment