Created
October 23, 2017 17:12
-
-
Save barrykooij/ea82ea30cbe39c08660ef6e8cdecaf89 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$aam = new Dlm_Aam_Access_Manager(); | |
if ( $aam->has_access_to_download( $dlm_download ) ) { | |
// has access | |
} else { | |
// no access | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment