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

AbstractPaymentGatewaySettingsSchema::get_special_field_valuesprotectedWC 1.0

Get values for gateway-specific special fields.

Override this method in gateway-specific schema classes to provide special field values.

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

Хуков нет.

Возвращает

Массив.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_special_field_values( $gateway ): array;
$gateway(WC_Payment_Gateway) (обязательный)
Gateway instance.

Код AbstractPaymentGatewaySettingsSchema::get_special_field_values() WC 10.5.2

protected function get_special_field_values( WC_Payment_Gateway $gateway ): array {
	return array();
}