Automattic\WooCommerce\Internal\RestApi\Routes\V4\Settings\Account\Schema

AccountSettingsSchema::get_field_options │ private │ WC 1.0

Get options for specific field types.

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

Хуков нет.

Возвращает

array. Field options.

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

// private - только в коде основоного (родительского) класса
$result = $this->get_field_options( $field_id ): array;
$field_id(строка) (обязательный)
Field ID.

Код AccountSettingsSchema::get_field_options() WC 11.2.2

private function get_field_options( string $field_id ): array {
	// No field has options for now.
	return array();
}