Hello Nayeem, thanks for coming back to me. I have checked the documentation and it doesn’t help with my issue. I need WPDM to provide the package id that can be used in the redirect url we provide to the login page. I.E. we want the redirect URL to include ‘wpdmdl=9607’. Where ‘9607’ is the package id.
On the plugins setting page we are using the following code for the ‘Login Required Message’:
<a href="/login/?action=mepr_unauthorized&redirect_to=[this_url]">DOWNLOAD NOW</a>
This is working fine for redirecting back to the page after login, but requires the user to click the link again to download.
If we could append the package id (wpdmdl=9607) to our ‘redirect_to’ querystring, this would redirect the user back to the page and start/display the download.
Is this possible, thanks.
-
This reply was modified 4 years, 3 months ago by
Matt Lambert. Reason: Add login required message to settings page