This filter allows you to modify the available address formats on the settings page.
$address_formats - (array) The existing address formats.
This example adds support for two new address formats:
With the exception of comma
, the names that appear in the array key like zip
have to match with names of store detail fields. You can add custom fields with the meta box fields
This filter is located in /inc/wpsl-functions.php.