woocommerce_rest_api_uploaded_image_from_url action-hookWC 1.0

Usage

add_action( 'woocommerce_rest_api_uploaded_image_from_url', 'wp_kama_woocommerce_rest_api_uploaded_image_from_url_action', 10, 2 );

/**
 * Function for `woocommerce_rest_api_uploaded_image_from_url` action-hook.
 * 
 * @param  $file      
 * @param  $image_url 
 *
 * @return void
 */
function wp_kama_woocommerce_rest_api_uploaded_image_from_url_action( $file, $image_url ){

	// action...
}
$file
-
$image_url
-

Where the hook is called

wc_rest_upload_image_from_url()
woocommerce_rest_api_uploaded_image_from_url
woocommerce/includes/wc-rest-functions.php 121
do_action( 'woocommerce_rest_api_uploaded_image_from_url', $file, $image_url );

Where the hook is used in WooCommerce

Usage not found.