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

BacsGatewaySettingsSchema::is_special_fieldpublicWC 1.0

Check if a field is a special field for BACS.

Method of the class: BacsGatewaySettingsSchema{}

No Hooks.

Returns

true|false.

Usage

$BacsGatewaySettingsSchema = new BacsGatewaySettingsSchema();
$BacsGatewaySettingsSchema->is_special_field( $field_id ): bool;
$field_id(string) (required)
Field ID.

BacsGatewaySettingsSchema::is_special_field() code WC 10.4.3

public function is_special_field( string $field_id ): bool {
	return 'account_details' === $field_id;
}