Automattic\WooCommerce\Internal\RestApi\Routes\V4\Settings\PaymentGateways\Schema
AbstractPaymentGatewaySettingsSchema::get_special_field_schemas
Get field schemas for gateway-specific special fields.
Override this method in gateway-specific schema classes to provide special field schemas.
Method of the class: AbstractPaymentGatewaySettingsSchema{}
No Hooks.
Returns
Array.
Usage
// protected - for code of main (parent) or child class $result = $this->get_special_field_schemas( $gateway ): array;
- $gateway(WC_Payment_Gateway) (required)
- Gateway instance.
AbstractPaymentGatewaySettingsSchema::get_special_field_schemas() AbstractPaymentGatewaySettingsSchema::get special field schemas code WC 10.4.3
protected function get_special_field_schemas( WC_Payment_Gateway $gateway ): array {
return array();
}