Automattic\WooCommerce\Blocks\Domain\Services\CheckoutFieldTypes

AbstractFieldType::process_type_options │ protected │ WC 1.0

Processes the type-specific options supplied during field registration.

Method of the class: AbstractFieldType{}

No Hooks.

Returns

array|false. The updated $field_data array, or false if an error should prevent registration.

Usage

// protected - for code of main (parent) or child class
$result = $this->process_type_options( $field_data, $options );
$field_data(array) (required)
The field data array, with the options common to every type already applied.
$options(array) (required)
The options supplied during field registration.

AbstractFieldType::process_type_options() code WC 11.2.1

protected function process_type_options( array $field_data, array $options ) {
	return $field_data;
}