[API] Added woocommerce_api_uploaded_image_from_url action, closes #9568
This commit is contained in:
parent
357254f928
commit
57feb4ba9b
|
@ -2353,6 +2353,8 @@ class WC_API_Products extends WC_API_Resource {
|
|||
|
||||
unset( $response );
|
||||
|
||||
do_action( 'woocommerce_api_uploaded_image_from_url', $upload, $image_url, $upload_for );
|
||||
|
||||
return $upload;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue