• Hi

    it would be a great thing, if in upcoming versions the accessed download could be passed to the dlm_access_denied_redirect filter, to be able to do more different and individual things for example for specific download categories …

    In my scenario I’ve different redirect pages for each of the download categories.

    replacing
    if ( $redirect = apply_filters( 'dlm_access_denied_redirect', false ) )

    with

    if ( $redirect = apply_filters( 'dlm_access_denied_redirect', $download ) ) {

    worked for me like charm, but stops the ability to auto-update the plugin.

    Cheers!
    Marc.

    • This topic was modified 7 years, 6 months ago by MRmedia.
  • The topic ‘Pass accessed download to dlm_access_denied_redirect’ is closed to new replies.