A few suggestions
-
Cool plugin!
1) I’d like to be able to set the text of the link instead of having it show (Download X). There’s a couple of thoughts:
1a) Update your shortcode to accept a second $content parameter so I can put the name of the link in-between the shortcode [lana_download id=”X”]Link Text Here[/lana_download]
1b) Add an option to use the Download Post Title as the download link text.2) I’d really like an action hook just before the file is downloaded so I can redirect if the current user doesn’t have access to download the file (based on my own logic).
function lana_downloads_manager_download_handler() { ... do_action('lana_download_before_file_download', $download_id); /** * Local file */ if ( $file_path && $local_file ) { ... }Thanks!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘A few suggestions’ is closed to new replies.