WordPress Download Manager
WordPress Download Manager
  • Pricing
  • Demo
  • Extend
    • Full Access Pack Get access to all items on this site with a BIG DISCOUNT
    • WordPress Form Builder Plugin Try it even if you are using another one and you may thank me later :)
    • Attire All-in-One WordPress Theme, only theme you will ever need

    Add-ons

    • Add-ons
    • Cloud Storage
    • eCommerce Add-ons
    • Email
    • Featured
    • Free
    • Marketing
    • Payment Gateways
    • Social Networking
    • Tools
    • UI
    • Widgets

    Customization Service

  • Discount Packs
  • Docs
  • Support
    • Search in Forum
    • Download Manager Pro
    • Download Manager Free
    • Pro Feature Request
    • How To...
    • Tips and Tricks
    • Contact Us
  • Blog
Login | Register
Forgot Password?
— Don't have an account yet? Register Now —
Home / Topics / Download Manager Free / Filter “Download Link” not being called

Filter “Download Link” not being called

  • This topic has 1 reply, 2 voices, and was last updated 4 years ago by Shahjada.
Viewing 2 posts - 1 through 2 (of 2 total)
Aug 14, 2021 at 11:05 pm #159792

Ron Barack
Participant

The filter https://www.wpdownloadmanager.com/doc/filter-reference/download_link/ . This is a documented API which I thought I could assume to be stable. The filter wpdm_download_link is not a good replacement, since the package information is not passed as an argument.

Aug 15, 2021 at 6:55 am #159808

Shahjada
Keymaster

Filter hook wpdm_download_link and download_link works differently.
wpdm_download_link accept 2 parameters 1st parameter is download link html code, 2nd parameter is an array just contaiting package ID, ['ID' ► {Package ID}], and inside the filter to can retrieve package date using the give ID, $packageObject = WPDM()->package->init($param2['ID']);

and download_link filter is documented here https://www.wpdownloadmanager.com/doc/filter-reference/download_link/

However, please let me know what are you trying to do, so that I can explain your better :).

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Filter “Download Link” not being called’ is closed to new replies.

footer-logo

WordPress Download Manager

All in One Digital Asset Management & Complete eCommerce Solution for Selling Digital Products

Quick Access

  • Try Demo
  • Pricing
  • Affiliate
  • Contact

Blog

  • Updates
  • How-to
  • New Release
  • Tips

Support

  • Support Forum
  • Priority Support
  • Feature Request
  • Terms and Conditions