• 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 / Files / includes/class-edd-download.php


Lines:

1 to 48 of 48
<?php

/**
 * Download Object
 *
 * @package     EDD
 * @subpackage  Classes/Download
 * @copyright   Copyright (c) 2015, Pippin Williamson
 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
 * @since       2.2
*/

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;

/* class EDD_Download */
/* function EDD_Download::__construct() – Get things going */
/* function EDD_Download::setup_download() – Given the download data, let’s set the variables */
/* function EDD_Download::__get() – Magic __get function to dispatch a call to retrieve a private property */
/* function EDD_Download::create() – Creates a download */
/* function EDD_Download::get_ID() – Retrieve the ID */
/* function EDD_Download::get_name() – Retrieve the download name */
/* function EDD_Download::get_price() – Retrieve the price */
/* function EDD_Download::get_prices() – Retrieve the variable prices */
/* function EDD_Download::is_single_price_mode() – Determine if single price mode is enabled or disabled */
/* function EDD_Download::has_variable_prices() – Determine if the download has variable prices enabled */
/* function EDD_Download::get_files() – Retrieve the file downloads */
/* function EDD_Download::get_file_download_limit() – Retrieve the file download limit */
/* function EDD_Download::get_file_price_condition() – Retrieve the price option that has access to the specified file */
/* function EDD_Download::get_type() – Retrieve the download type, default or bundle */
/* function EDD_Download::is_bundled_download() – Determine if this is a bundled download */
/* function EDD_Download::get_bundled_downloads() – Retrieves the Download IDs that are bundled with this Download */
/* function EDD_Download::get_variable_priced_bundled_downloads() – Retrieve the Download IDs that are bundled with this Download based on the variable pricing ID passed */
/* function EDD_Download::get_notes() – Retrieve the download notes */
/* function EDD_Download::get_sku() – Retrieve the download sku */
/* function EDD_Download::get_button_behavior() – Retrieve the purchase button behavior */
/* function EDD_Download::get_sales() – Retrieve the sale count for the download */
/* function EDD_Download::increase_sales() – Increment the sale count by one */
/* function EDD_Download::decrease_sales() – Decrement the sale count by one */
/* function EDD_Download::get_earnings() – Retrieve the total earnings for the download */
/* function EDD_Download::increase_earnings() – Increase the earnings by the given amount */
/* function EDD_Download::decrease_earnings() – Decrease the earnings by the given amount */
/* function EDD_Download::is_free() – Determine if the download is free or if the given price ID is free */
/* function EDD_Download::quantities_disabled() – Is quantity input disabled on this product? */
/* function EDD_Download::update_meta() – Updates a single meta entry for the download */
/* function EDD_Download::can_purchase() – Checks if the download can be purchased */
/* function EDD_Download::get_bundle_pricing_variations() – Get pricing variations for bundled items */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: includes/class-edd-download.php
      Plugin ref: Easy Digital Downloads
      Version: 2.9.23
      Deprecated?: No
      API Letters: C,D,E,I,P

      Published: 26th November 2019 | Last updated: 26th November 2019

      Primary Sidebar

      Information

      File name: includes/class-edd-download.php
      Plugin ref: Easy Digital Downloads
      Version: 2.9.23
      Deprecated?: No
      API Letters: C,D,E,I,P

      includes

      Footer

      Easy Digital Downloads a2z
      Easy Digital Downloads a2z
      Easy Digital Downloads a2z
      WordPress 5.6
      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