bp_document_folder_download_link( $folder_id )
Return download link of the folder.
Description
Parameters
- $folder_id
-
(Required)
Return
(mixed|void)
Source
File: bp-document/bp-document-functions.php
function bp_document_folder_download_link( $folder_id ) { if ( empty( $folder_id ) ) { return; } $link = site_url() . '/?attachment=' . $folder_id . '&document_type=folder&download_document_file=1' . '&document_file=' . $folder_id; return apply_filters( 'bp_document_folder_download_link', $link, $folder_id ); }
Changelog
Version | Description |
---|---|
BuddyBoss 1.4.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.