// modifys contact form 7's default select value of --- to Please select... function my_wpcf7_form_elements($html) { $text = 'Please select...'; $html = str_replace('', '', $html); return $html; } add_filter('wpcf7_form_elements', 'my_wpcf7_form_elements'); // Modify multiple selects function my_wpcf7_form_elements($html) { function ov3rfly_replace_include_blank($name, $text, &$html) { $matches = false; preg_match('/]*>(.*)<\/select>/iU', $select, $html); } add_filter('wpcf7_form_elements', 'my_wpcf7_form_elements'); } ov3rfly_replace_include_blank('menu-569', 'Choose language', $html); ov3rfly_replace_include_blank('menu-614', 'Choose country', $html); return $html; }