Created
January 4, 2021 03:31
-
-
Save junenacpil29/afb9e89530bac8687acc186bbddfd5e2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'wcv_format_store_address_args', 'my_wcv_format_store_address', 11, 2 ); | |
function my_wcv_format_store_address( $address_args, $vendor_id ) { | |
$address_args = array( | |
'state' => get_user_meta( $vendor_id, '_wcv_store_state', true ), | |
'city' => get_user_meta( $vendor_id, '_wcv_store_city', true ), | |
); | |
return $address_args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment