• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Easy Digital Downloads a2z

Easy Digital Downloads a2z

Easy Digital Downloads a2z

  • Home
  • Plugins
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / edd_get_download_files() – Gets all download files for a product

You appear to be a bot. Output may be restricted

Description

Gets all download files for a product

Can retrieve files specific to price ID

Usage

$array = edd_get_download_files( $download_id, $variable_price_id );

Parameters

$download_id
( int ) optional – Download ID
$variable_price_id
( int ) optional – Variable pricing option ID

Returns

array $files Download files

Source

File name: easy-digital-downloads/includes/download-functions.php
Lines:

1 to 4 of 4
function edd_get_download_files( $download_id = 0, $variable_price_id = null ) {
  $download = new EDD_Download( $download_id );
  return $download->get_files( $variable_price_id );
}
 

 View on GitHub View on Trac

Published: 26th November 2019 | Last updated: 8th April 2020

Primary Sidebar

Information

Function name: edd_get_download_files
Plugin ref: Easy Digital Downloads
Version: 2.10.1
Sourcefile: includes/download-functions.php
File ref: includes/download-functions.php
Deprecated?: No
API Letters: D,E,F,G

Footer

Easy Digital Downloads a2z
Easy Digital Downloads a2z
Easy Digital Downloads a2z
WordPress 5.7
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  edd.wp-a2z.org
© Copyright Easy Digital Downloads a2z 2014-2021. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites