diff --git a/includes/api/products.php b/includes/api/products.php index bddd85c1..75ea74df 100644 --- a/includes/api/products.php +++ b/includes/api/products.php @@ -290,7 +290,7 @@ private function get_thumbnail($id){ if( is_array($image) ) return $image[0]; - return wc_placeholder_img_src(); + return apply_filters( 'woocommerce_pos_placeholder_img_src', wc_placeholder_img_src(), $id ); } /** @@ -538,4 +538,4 @@ private function format_id( $id ){ return array( 'id' => (int) $id ); } -} \ No newline at end of file +}