Description
This filter allows you to modify the available address formats on the settings page.
Parameters
$address_formats - (array) The existing address formats.
Usage
This example adds support for two new address formats:
With the exception of comma, the names that appear in the array key like zip, state and city have to match with names of store detail fields. You can add custom fields with the meta box fields filter.
Changelog
Since 2.0
Source File
This filter is located in /inc/wpsl-functions.php.
Placement
The code needs to be placed in the functions.php file inside your active theme folder.