File: bp-media/bp-media-functions.php |
Description |
---|---|
bp_media_file_upload_max_size |
Filters file media upload max limit. |
bp_media_download_url_file() |
Check if user have a access to download the file. If not redirect to homepage. |
bp_media_ie_nocache_headers_fix() |
Filter headers for IE to fix issues over SSL. |
bp_media_get_forum_id() | |
bp_media_user_can_manage_album() |
Check user have a permission to manage the album. |
bp_media_download_link() |
Return download link of the media. |
bp_media_directory_page_content() |
Function to add the content on top of media listing |
bp_get_attachment_media_id() |
Get media id for the attachment. |
bp_media_query_privacy() |
Get list of privacy based on user and group. |
bp_media_query_privacy |
check if the login user is friends of the display user OR check if the login user and the display user is the same |