Automattic\WooCommerce\Internal\AddressProvider

AddressProviderController::initpublicWC 1.0

Init function runs after this provider was added to DI container.

Method of the class: AddressProviderController{}

No Hooks.

Returns

null. Nothing (null).

Usage

$AddressProviderController = new AddressProviderController();
$AddressProviderController->init();

AddressProviderController::init() code WC 10.3.3

final public function init() {
	$this->preferred_provider_option = get_option( 'woocommerce_address_autocomplete_provider', '' );
	$this->providers                 = $this->get_registered_providers();
}