apply_filters( 'bigcommerce/import/strategy/needs_refresh', bool $response, int $post_id, BigCommerceApiv3ModelProduct $product, BigCommerceApiv3ModelListing $listing, string $version )

Summary

Filter whether the product should be refreshed


Parameters

$response

(bool) Whether the product should be refreshed

$post_id

(int) The ID of the product post

$product

(BigCommerceApiv3ModelProduct) The product data from the API

$listing

(BigCommerceApiv3ModelListing) The channel listing data from the API

$version

(string) The version of the importer


Source

File: src/BigCommerce/Import/Importers/Products/Product_Strategy_Factory.php


User Contributed Notes

You must log in before being able to contribute a note or feedback.