Package EDD\Functions
Packages summary
EDD\Functions\AJAX |
EDD\Functions\Compatibility |
EDD\Functions\Errors |
EDD\Functions\Formatting |
EDD\Functions\Install |
EDD\Functions\Login |
EDD\Functions\Taxes |
EDD\Functions\Templates |
Functions summary
_edd_deprecated_function | Marks a function as deprecated and informs when it has been used. |
edd_admin_downloads_icon | Admin Downloads Icon |
edd_allowed_mime_types | Allowed Mime Types |
edd_block_attachments | Blocks access to Download attachments |
edd_cart_discounts_html | Outputs the HTML for all discounts applied to the cart |
edd_cart_has_discounts | Check if the cart has any active discounts applied to it |
edd_change_default_title | Change default "Enter title here" input |
edd_cleanup_file_symlinks | Delete symbolic links afer they have been used |
edd_count_file_downloads_of_user | Counts the total number of files a customer has downloaded |
edd_count_purchases_of_customer | Count number of purchases of a customer |
edd_decrease_earnings | Decreases the total earnings of a download. Primarily for when a purchase is refunded. |
edd_decrease_purchase_count | Decreases the sale count of a download. Primarily for when a purchase is refunded. |
edd_deliver_download | Deliver the download file |
edd_discount_exists | Checks to see if a discount code already exists. |
edd_discount_is_min_met | Is Cart Minimum Met |
edd_discount_is_single_use | Is the discount limited to a single use per customer? |
edd_discount_product_reqs_met | Checks to see if the required products are in the cart |
edd_display_cart_discount | Show the fully formatted cart discount |
edd_format_discount_rate | Format Discount Rate |
edd_get_actions | Hooks EDD actions, when present in the $_GET superglobal. Every edd_aciton present in $_GET is called using WordPress's do_action function. These functions are called on init. |
edd_get_average_monthly_download_earnings | Retreives the average monthly earnings for a specific download |
edd_get_average_monthly_download_sales | Retreives the average monthly sales for a specific download |
edd_get_bundled_products | Retrieves the product IDs of bundled products |
edd_get_cart_discounted_amount | Retrieves the total discounted amount on the cart |
edd_get_cart_discounts | Retrieve the currently applied discount |
edd_get_cart_discounts_html | Retrieves the HTML for all discounts applied to the cart |
edd_get_country_list | Get Country List |
edd_get_currencies | Get Currencies |
edd_get_current_page_url | Get the current page URL |
edd_get_default_labels | Get Default Labels |
edd_get_discount | Get Discount |
edd_get_discount_amount | Retrieve the discount amount |
edd_get_discount_by_code | Get Discount By Code |
edd_get_discount_code | Retrieve the discount code |
edd_get_discount_expiration | Retrieve the discount code expiration date |
edd_get_discount_id_by_code | Get Discount By Code |
edd_get_discount_max_uses | Retrieve the maximum uses that a certain discount code |
edd_get_discount_min_price | Retrieve the minimum purchase amount for a discount |
edd_get_discount_product_condition | Retrieve the product condition |
edd_get_discount_product_reqs | Retrieve the discount product requirements |
edd_get_discount_start_date | Retrieve the discount code expiration date |
edd_get_discount_type | Retrieve the discount type |
edd_get_discount_uses | Retrieve number of times a discount has been used |
edd_get_discounted_amount | Get Discounted Amount |
edd_get_discounts | Get Discounts |
edd_get_download | Retrieves a download post object by ID or slug. |
edd_get_download_earnings_stats | Returns the total earnings for a download. |
edd_get_download_file_url | Get Download File Url |
edd_get_download_files | Gets all download files for a product |
edd_get_download_final_price | Retrieves the final price of a downloadable product after purchase this price includes any necessary discounts that were applied |
edd_get_download_price | Returns the price of a download, but only for non-variable priced downloads. |
edd_get_download_sales_stats | Return the sales number for a download. |
edd_get_download_type | Gets the Download type, either default or "bundled" |
edd_get_file_ctype | Get the file content type |
edd_get_file_download_limit | Gets the file download file limit for a particular download |
edd_get_file_download_limit_override | Gets the file download file limit override for a particular download |
edd_get_file_extension | Get File Extension |
edd_get_file_price_condition | Gets the Price ID that can download a file |
edd_get_highest_price_option | Retrieves most expensive price option of a variable priced download |
edd_get_ip | Get User IP |
edd_get_label_plural | Get Plural Label |
edd_get_label_singular | Get Singular Label |
edd_get_lowest_price_option | Retrieves cheapest price option of a variable priced download |
edd_get_php_arg_separator_output | Get PHP Arg Separator Ouput |
edd_get_price_option_name | Retrieves the name of a variable price option |
edd_get_product_notes | Get product notes |
edd_get_provinces_list | Get Provinces List |
edd_get_purchase_cc_info | Get Credit Card Info |
edd_get_purchase_form_user | Get Purchase Form User |
edd_get_states_list | Get States List |
edd_get_success_page_url | Get Success Page URL |
edd_get_symlink_dir | Retrieve the absolute path to the symlink directory |
edd_get_symlink_url | Retrieve the URL of the symlink directory |
edd_get_users_purchases | Get Users Purchases |
edd_get_variable_prices | Retrieves the variable prices for a download |
edd_has_active_discounts | Has Active Discounts |
edd_has_purchases | Has Purchases |
edd_has_user_purchased | Has User Purchased |
edd_has_variable_prices | Checks to see if a download has variable prices enabled. |
edd_increase_discount_usage | Increase Discount Usage |
edd_increase_earnings | Increases the total earnings of a download. |
edd_increase_purchase_count | |
edd_is_cc_verify_enabled | Verify credit card numbers live? |
edd_is_discount_active | Checks whether a discount code is active. |
edd_is_discount_expired | Is Discount Expired |
edd_is_discount_maxed_out | Is Discount Maxed Out |
edd_is_discount_not_global | Check if a discount is not global |
edd_is_discount_started | Is Discount Started |
edd_is_discount_used | Is Discount Used |
edd_is_discount_valid | Check whether a discount code is valid (when purchasing). |
edd_is_file_at_download_limit | Checks if a file is at its download limit |
edd_is_func_disabled | Checks whether function is disabled. |
edd_is_odd | Is Odd |
edd_is_test_mode | Is Test Mode |
edd_let_to_num | EDD Let To Num |
edd_load_admin_scripts | Load Admin Scripts |
edd_load_scripts | Load Scripts |
edd_logged_in_only | Checks if users can only purchase downloads when logged in |
edd_month_num_to_name | Month Num To Name |
edd_no_guest_checkout | Checks if Guest checkout is enabled |
edd_no_redownload | Disable Redownload |
edd_post_actions | Hooks EDD actions, when present in the $_POST superglobal. Every edd_aciton present in $_POST is called using WordPress's do_action function. These functions are called on init. |
edd_presstrends | PressTrends Plugin API |
edd_price | Displays a formatted price for a download |
edd_price_range | Retrieves a price from from low to high of a variable priced download |
edd_process_download | Process Download |
edd_process_purchase_form | Process Purchase Form |
edd_purchase_form_required_fields | Purchase Form Required Fields |
edd_purchase_form_validate_agree_to_terms | Purchase Form Validate Agree To Terms |
edd_purchase_form_validate_cc | Validates the credit card info |
edd_purchase_form_validate_cc_zip | Validate zip code based on country code |
edd_purchase_form_validate_discounts | Purchase Form Validate Discounts |
edd_purchase_form_validate_fields | Purchase Form Validate Fields |
edd_purchase_form_validate_gateway | Purchase Form Validate Gateway |
edd_purchase_form_validate_guest_user | Purchase Form Validate Guest User |
edd_purchase_form_validate_logged_in_user | Purchase Form Validate Logged In User |
edd_purchase_form_validate_new_user | Purchase Form Validate New User |
edd_purchase_form_validate_user_login | Purchase Form Validate User Login |
edd_purchase_total_of_user | Calculates the total amount spent by a user |
edd_query_vars | Register EDD Query Vars |
edd_readfile_chunked | Reads file in chunks so big downloads are possible without changing PHP.INI See http://codeigniter.com/wiki/Download_helper_for_large_files/ |
edd_record_download_in_log | Record Download In Log |
edd_record_sale_in_log | Record Sale In Log |
edd_register_and_login_new_user | Register And Login New User |
edd_register_post_type_statuses | Registers Custom Post Statuses which are used by the Payments and Discount Codes |
edd_register_styles | Register Styles |
edd_remove_cart_discount | Processes a remove discount from cart request |
edd_remove_discount | Deletes a discount code. |
edd_remove_download_logs_on_delete | Delete log entries when deleting download product |
edd_send_back_to_checkout | Send back to checkout. |
edd_send_to_success_page | Send To Success Page |
edd_set_cart_discount | Set the active discount for the shopping cart |
edd_set_file_download_limit_override | Sets the file download file limit override for a particular download |
edd_setup_download_taxonomies | Registers the custom taxonomies for the downloads custom post type |
edd_setup_edd_post_types | Registers and sets up the Downloads custom post type |
edd_single_price_option_mode | Checks to see if multiple price options can be purchased at once |
edd_store_discount | Stores a discount code. If the code already exists, it updates it, otherwise it creates a new one. |
edd_straight_to_checkout | Redirect to checkout immediately after adding items to the cart? |
edd_string_is_image_url | Checks if the string (filename) provided is an image URL |
edd_unset_all_cart_discounts | Remove all active discounts |
edd_unset_cart_discount | Remove an active discount from the shopping cart |
edd_update_discount_status | Updates a discount's status from one status to another. |
edd_updated_messages | Updated Messages |
edd_validate_username | Validate a potential username |
edd_verify_download_link | Verifies a download purchase using a purchase key and email. |
edd_version_in_header | Adds EDD Version to the <head> tag |