04/09/2015 at 9:19 am
#331028
Keymaster
@ anja
Well, I’ve got good news for you, you do not need to make that change to the file at all. This change can be done using a filter.
add_filter( 'cn_output_default_atts_address', 'cn_change_address_format');
function cn_change_address_format( $atts ) {
$atts['format'] = '%label% %line1% %line2% %line3% %zipcode% %city% %state% %country%';
return $atts;
}
Hope that helps!
