Change confirm email sublabel
-
Hi, I’m using the php below to translate the sublabels to Danish, hovwever, I’m not sure what the field name is for the Confirm email sublabel. It would be great if you could tell me, or even direct me to a page with all the names of the fields 🙂
Thanks, Soren.function wpf_dev_name_field_properties( $properties, $field, $form_data ) {
// Change sublabel values
$properties[‘inputs’][‘first’][‘sublabel’][‘value’] = ‘Fornavn’;
$properties[‘inputs’][‘last’][‘sublabel’][‘value’] = ‘Efternavn’;
$properties[‘inputs’][‘???’][‘sublabel’][‘value’] = ‘Bekræft din email adresse’;
return $properties;
}
add_filter( ‘wpforms_field_properties_name’ , ‘wpf_dev_name_field_properties’, 10, 3 );
- The topic ‘Change confirm email sublabel’ is closed to new replies.