Automattic\WooCommerce\Blocks\Domain\Services

CheckoutFields::get_address_fields_keys()publicWC 1.0

Returns an array of fields keys for the address location.

Метод класса: CheckoutFields{}

Хуков нет.

Возвращает

Массив. An array of fields keys.

Использование

$CheckoutFields = new CheckoutFields();
$CheckoutFields->get_address_fields_keys();

Код CheckoutFields::get_address_fields_keys() WC 9.3.3

public function get_address_fields_keys() {
	return $this->fields_locations['address'];
}