WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
фильтр не описан

woocommerce_rest_suppress_image_upload_error хук-фильтр . WC 1.0

Использование

add_filter( 'woocommerce_rest_suppress_image_upload_error', 'filter_function_name_176', 10, 4 );
function filter_function_name_176( $false, $upload, $product_id, $images ){
	// filter...

	return $false;
}
$false
-
$upload
-
$product_id
-
$images
-

Где вызывается хук

WC_REST_Products_V1_Controller::set_product_images()
woocommerce_rest_suppress_image_upload_error
WC_REST_Products_Controller::set_product_images()
woocommerce_rest_suppress_image_upload_error
WC_REST_Product_Variations_Controller::set_variation_image()
woocommerce_rest_suppress_image_upload_error
WC_REST_Products_V2_Controller::set_product_images()
woocommerce_rest_suppress_image_upload_error
woocommerce/includes/api/v1/class-wc-rest-products-controller.php 856
if ( ! apply_filters( 'woocommerce_rest_suppress_image_upload_error', false, $upload, $product->get_id(), $images ) ) {
woocommerce/includes/api/class-wc-rest-products-controller.php 239
if ( ! apply_filters( 'woocommerce_rest_suppress_image_upload_error', false, $upload, $product->get_id(), $images ) ) {
woocommerce/includes/api/class-wc-rest-product-variations-controller.php 361
if ( ! apply_filters( 'woocommerce_rest_suppress_image_upload_error', false, $upload, $variation->get_id(), array( $image ) ) ) {
woocommerce/includes/api/v2/class-wc-rest-products-v2-controller.php 1103
if ( ! apply_filters( 'woocommerce_rest_suppress_image_upload_error', false, $upload, $product->get_id(), $images ) ) {

Где используется хук (в ядре WC)

Не используется.