Support » Plugin: Prevent Direct Access - Protect WordPress Files » PHP function to get the private download link ?

  • Resolved ultramega

    (@ultramega)


    Hi,
    Is there a way to get the private download link of a file using a PHP function ?

    Thank you for your help !
    Best Regards,
    Cedric

Viewing 1 replies (of 1 total)
  • Plugin Contributor BWPS Team

    (@buildwps)

    Hi @ultramega,

    Thanks for your reaching out to us.

    Yes, you can generate a private download link of a protected file with our create_private_link function.

    Here is a code example: https://gist.github.com/bwps/577a06d2f1f6a063a2e856da167fdc18

    By the way, are you using our PDA Lite or Gold version?

    Please share with us what you want to achieve in more detail so that we can advise you accordingly.

    You might want to drop us an email at hello(at)preventdirectaccess.com for faster response from our team.

    We look forward to your reply.

    Elena

Viewing 1 replies (of 1 total)
  • The topic ‘PHP function to get the private download link ?’ is closed to new replies.