Change “country” sub label to “Select Country”
-
Im trying to change the sublabel name on this form. I’m using gthe code below but im not getting any results.
function wpf_dev_country_field_properties( $properties, $field, $form_data ) {
// Change sublabel values
$properties[‘inputs’][‘select country’][‘sublabel’][‘value’] = ‘Select Country’;return $properties;
}
add_filter( ‘wpforms_field_properties_country’ , ‘wpf_dev_country_field_properties’, 10, 3 );The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Change “country” sub label to “Select Country”’ is closed to new replies.