woocommerce_customer_default_location_array

woocommerce_customer_default_location_array

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_customer_default_location_array') is found 1 times:

  • /includes/wc-core-functions.php line 1335
    		$location['country'] = current( array_keys( $allowed_country_codes ) );
    		$location['state']   = '';
    	}
    
    	return apply_filters( 'woocommerce_customer_default_location_array', $location );
    }
    
    /**
     * Get user agent string.
     *
     * @since  3.0.0