How can i check if a rule was applied to a download?
-
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)
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.