Automattic\WooCommerce\StoreApi\Schemas
ExtendSchema::get_formatter()
Returns a formatter instance.
Method of the class: ExtendSchema{}
No Hooks.
Return
FormatterInterface
.
Usage
$ExtendSchema = new ExtendSchema(); $ExtendSchema->get_formatter( $name );
- $name(string) (required)
- Formatter name.
ExtendSchema::get_formatter() ExtendSchema::get formatter code WC 8.7.0
public function get_formatter( $name ) { return $this->formatters->$name; }