Easy Digital Downloads
  • Package
  • Class
  • Tree

Packages

  • EDD
    • Admin
      • Actions
      • Add-ons
      • Dashboard
      • Discounts
      • Downloads
      • Export
      • Notices
      • Pages
      • Payments
      • Reports
      • Settings
      • System
      • Upgrades
      • Upload
      • Welcome
    • Cart
    • Checkout
    • Classes
      • API
      • Fees
      • HTML
      • Roles
      • Session
    • Emails
    • Functions
      • AJAX
      • Compatibility
      • Errors
      • Formatting
      • Install
      • Login
      • Taxes
      • Templates
    • Gateways
    • Logging
    • Payments
    • Shortcodes
    • Widgets

Functions

  • edd_ajax_add_to_cart
  • edd_ajax_apply_discount
  • edd_ajax_get_download_title
  • edd_ajax_opt_into_local_taxes
  • edd_ajax_opt_out_local_taxes
  • edd_ajax_remove_from_cart
  • edd_check_for_download_price_variations
  • edd_get_ajax_url
  • edd_load_checkout_login_fields
  • edd_load_checkout_register_fields

Package EDD\Functions\AJAX

Functions summary

edd_ajax_add_to_cart Adds item to the cart via AJAX.
edd_ajax_apply_discount Validates the supplied discount sent via AJAX.
edd_ajax_get_download_title Get Download Title via AJAX (used only in WordPress Admin)
edd_ajax_opt_into_local_taxes Opt into local taxes via AJAX
edd_ajax_opt_out_local_taxes Opt out of local taxes via AJAX
edd_ajax_remove_from_cart Removes item from cart via AJAX.
edd_check_for_download_price_variations Check for Download Price Variations via AJAX (this function can only be used in WordPress Admin). This function isused for the Edit Payment screen when downloads are added to the purchase. When each download is chosen, an AJAX call is fired to this function which will check if variable prices exist for that download. If they do, it will output a dropdown of all the variable prices available for that download.
edd_get_ajax_url Get AJAX URL
edd_load_checkout_login_fields Loads Checkout Login Fields the via AJAX
edd_load_checkout_register_fields Load Checkout Register Fields via AJAX
Easy Digital Downloads API documentation generated by ApiGen 2.8.0