Automattic\WooCommerce\Internal\CLI\Migrator\Platforms\Shopify
ShopifyMapper::get_default_product_fields
Gets the default product fields to process if not specified.
Метод класса: ShopifyMapper{}
Хуков нет.
Возвращает
Массив. Default fields.
Использование
// private - только в коде основоного (родительского) класса $result = $this->get_default_product_fields(): array;
Код ShopifyMapper::get_default_product_fields() ShopifyMapper::get default product fields WC 11.0.1
private function get_default_product_fields(): array {
return array(
'title',
'slug',
'description',
'short_description',
'status',
'date_created',
'catalog_visibility',
'category',
'tag',
'price',
'sku',
'stock',
'weight',
'brand',
'images',
'seo',
'attributes',
);
}