Automattic\WooCommerce\StoreApi\Formatters
DefaultFormatter::format()
Format a given value and return the result.
Method of the class: DefaultFormatter{}
No Hooks.
Return
Mixed
.
Usage
$DefaultFormatter = new DefaultFormatter(); $DefaultFormatter->format( $value, $options );
- $value(mixed) (required)
- Value to format.
- $options(array)
- Options that influence the formatting.
Default: []
DefaultFormatter::format() DefaultFormatter::format code WC 7.7.0
public function format( $value, array $options = [] ) { return $value; }