Automattic\WooCommerce\Internal\ProductFeed\Feed
ProductMapperInterface::map_product
Map a product to a feed row.
Метод класса: ProductMapperInterface{}
Хуков нет.
Возвращает
Массив. The feed row.
Использование
$ProductMapperInterface = new ProductMapperInterface(); $ProductMapperInterface->map_product( $product ): array;
- $product(WC_Product) (обязательный)
- The product to map.
Код ProductMapperInterface::map_product() ProductMapperInterface::map product WC 10.5.2
public function map_product( \WC_Product $product ): array;