apply_filters( 'learndash_file_can_be_downloaded', bool $file_can_be_downloaded, string $file_path_id, string $file_name )
Filters whether the file can be downloaded.
Description #
Parameters #
- $file_can_be_downloaded
-
(bool) Whether the file can be downloaded.
- $file_path_id
-
(string) The file path ID.
- $file_name
-
(string) The file name.
Return #
(bool)
Source #
File: includes/admin/class-learndash-admin-file-download-handler.php
Changelog #
Version | Description |
---|---|
4.10.3 | Introduced. |