Created
October 15, 2025 06:22
-
-
Save aimahdi/8c12c4da06d32e01a220809e2b1379fe to your computer and use it in GitHub Desktop.
Filter hook to check whether file can be downloaded or not
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
add_filter('fluent_cart/product_download/can_be_downloaded', function($canBeDownloaded, $orderInfo){ | |
}, 10, 2); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment