WordPress at Your Fingertips
filter is not described

woocommerce_rest_suppress_image_upload_error filter-hook . WC 1.0

Usage

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

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

Where the hook is called

ImageAttachment::upload_image_from_src()
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
WC_REST_Products_V1_Controller::set_product_images()
woocommerce_rest_suppress_image_upload_error
woocommerce/includes/rest-api/Utilities/ImageAttachment.php 50
if ( ! apply_filters( 'woocommerce_rest_suppress_image_upload_error', false, $upload, $this->object_id, $images ) ) {
woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php 244
if ( ! apply_filters( 'woocommerce_rest_suppress_image_upload_error', false, $upload, $product->get_id(), $images ) ) {
woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php 372
if ( ! apply_filters( 'woocommerce_rest_suppress_image_upload_error', false, $upload, $variation->get_id(), array( $image ) ) ) {
woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php 1287
if ( ! apply_filters( 'woocommerce_rest_suppress_image_upload_error', false, $upload, $product->get_id(), $images ) ) {
woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php 856
if ( ! apply_filters( 'woocommerce_rest_suppress_image_upload_error', false, $upload, $product->get_id(), $images ) ) {

Where in WP core the hook is used WooCommerce

Usage not found.