woocommerce_get_item_downloads, $files, $this, $order

woocommerce_get_item_downloads, $files, $this, $order

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('woocommerce_get_item_downloads, $files, $this, $order') is found 1 times:

  • /includes/class-wc-order-item-product.php line 493
    		 * @param array                 $files Array of downloadable file data.
    		 * @param WC_Order_Item_Product $item  The order item product object.
    		 * @param WC_Order              $order The order object.
    		 */
    		$files = apply_filters( 'woocommerce_get_item_downloads', $files, $this, $order );
    
    		if ( ! is_array( $files ) ) {
    			return array();
    		}
    
    		return $files;