Functions |
Description |
---|---|
bp_media_clear_cache_for_media() |
Clear a cached media item when that item is updated. |
bp_media_clear_media_group_object_cache() |
Clear a group’s cached media count. |
bp_media_clear_media_group_object_cache_on_delete() |
Clear a group’s cached media count when delete. |
bp_media_clear_media_user_object_cache() |
Clear a user’s cached media count. |
bp_media_clear_media_user_object_cache_on_delete() |
Clear a user’s cached media count when delete. |
bp_media_comment_embed_gif() |
Embed gif in activity comment content |
bp_media_comments_update_media_meta() |
Update media for activity comment |
bp_media_compress_image() |
Compress the image |
bp_media_count() |
Output the media count. |
bp_media_date_created() |
Output the media date created. |
bp_media_default_scope() |
Get default scope for the media. |
bp_media_delete() |
Delete media. |
bp_media_delete_activity_gif() |
Delete media gif when related activity is deleted. |
bp_media_delete_activity_media() |
Delete media when related activity is deleted. |
bp_media_delete_attachment_media() |
Delete media entries attached to the attachment |
bp_media_delete_orphaned_attachments() |
Delete orphaned attachments uploaded |
bp_media_directory_page_content() |
Function to add the content on top of media listing |
bp_media_directory_permalink() |
Output media directory permalink. |
bp_media_download_error() |
Die with an error message if the download fails. |
bp_media_download_file() | |
bp_media_download_file_force() |
Force download – this is the default method. |
bp_media_download_file_redirect() |
Redirect to a file to start the download. |
bp_media_download_headers() |
Set headers for the download. |
bp_media_download_link() |
Return download link of the media. |
bp_media_download_url_file() |
Check if user have a access to download the file. If not redirect to homepage. |
bp_media_file_upload_max_size() |
Get file media upload max size |
bp_media_filter_public_scope() |
Set up media arguments for use with the ‘public’ scope. |
bp_media_form_option() |
Output settings API option |
bp_media_format_size_units() |
Format file size units |
bp_media_forum_privacy_repair() |
Repair BuddyBoss media forums privacy. |
bp_media_forums_embed_attachments() |
Embed topic or reply attachments in a post |
bp_media_forums_embed_gif() |
Embed topic or reply gif in a post |
bp_media_forums_new_post_media_save() |
Save media when new topic or reply is saved |
bp_media_forums_save_gif_data() |
save gif data for forum, topic, reply |
bp_media_get() |
Retrieve an media or medias. |
bp_media_get_download_content_type() |
Get content type of a download. |
bp_media_get_download_range() |
Parse the HTTP_RANGE request from iOS devices. |
bp_media_get_edit_activity_data() |
Adds activity media data for the edit activity |
bp_media_get_form_option() |
Return settings API option |
bp_media_get_forum_id() | |
bp_media_get_gif_api_key() |
Return GIFs API Key |
bp_media_get_import_callbacks() |
Callback for media migration |
bp_media_get_media_activity() |
Return the media activity. |
bp_media_get_settings_fields() |
Get all of the settings fields. |
bp_media_get_settings_fields_for_section() |
Get settings fields by section. |
bp_media_get_settings_sections() |
Get the Media settings sections. |
bp_media_get_specific() |
Fetch specific media items. |
bp_media_get_thread_id() | |
bp_media_get_tools_media_settings_admin_tabs() | |
bp_media_get_total_group_album_count() |
Get the album count of a given group. |