Automattic\WooCommerce\Blocks\StoreApi\Formatters
FormatterInterface::format() public WC 1.0
Format a given value and return the result.
{} Это метод класса: FormatterInterface{}
Хуков нет.
Возвращает
Разное.
Использование
$FormatterInterface = new FormatterInterface(); $FormatterInterface->format( $value, $options );
- $value(разное) (обязательный)
- Value to format.
- $options(массив)
- Options that influence the formatting.
Код FormatterInterface::format() FormatterInterface::format WC 5.0.0
public function format( $value, array $options = [] );