Automattic\WooCommerce\Blocks\Domain\Services\CheckoutFieldTypes
AbstractFieldType::from_storage
Converts a stored meta value into the type the rest of checkout works with.
Method of the class: AbstractFieldType{}
No Hooks.
Returns
mixed. The converted value.
Usage
$AbstractFieldType = new AbstractFieldType(); $AbstractFieldType->from_storage( $value );
- $value(mixed) (required)
- The stored value.
Changelog
| Since 11.2.0 | Introduced. |
AbstractFieldType::from_storage() AbstractFieldType::from storage code WC 11.2.1
public function from_storage( $value ) {
return $value;
}