• Resolved silverstar23

    (@silverstar23)


    Hey all,

    we bought the plugin “Advanced Access Rules” for “Download Monitor”. So we want to customize a bit.

    So I added this line of code:

    add_filter( 'dlm_can_download', 'check_if_can', 1, 2 );

    But the function “check_if_can” is always triggert, even when there are no rules for the download.

    I want that this is only triggert if there is a rule set for that download.

    Any ideas?

    THX & Cheers

Viewing 1 replies (of 1 total)
  • Hey,

    Please reply to your purchase mail so I can help you via email. WordPress forum rules don’t allow discussing of premium products here. Sorry!

    Kind Regards,

    Barry Kooij

Viewing 1 replies (of 1 total)
  • The topic ‘How can i check if a rule was applied to a download?’ is closed to new replies.