Country select for edit address Closes #4396

This commit is contained in:
Mike Jolley 2013-12-27 12:20:51 +00:00
parent b0412ccd25
commit c916b51ef7
1 changed files with 3 additions and 0 deletions

View File

@ -159,6 +159,9 @@ class WC_Shortcode_My_Account {
$address = WC()->countries->get_address_fields( get_user_meta( get_current_user_id(), $load_address . '_country', true ), $load_address . '_' );
// Enqueue scripts
wp_enqueue_script( 'wc-country-select' );
// Prepare values
foreach ( $address as $key => $field ) {