Functions
Description
bp_media_clear_cache_for_media()

Clear a cached media item when that item is updated.

Source: bp-media/bp-media-cache.php:19

bp_media_clear_media_group_object_cache()

Clear a group’s cached media count.

Source: bp-media/bp-media-cache.php:112

bp_media_clear_media_group_object_cache_on_delete()

Clear a group’s cached media count when delete.

Source: bp-media/bp-media-cache.php:128

bp_media_clear_media_user_object_cache()

Clear a user’s cached media count.

Source: bp-media/bp-media-cache.php:61

bp_media_clear_media_user_object_cache_on_delete()

Clear a user’s cached media count when delete.

Source: bp-media/bp-media-cache.php:78

bp_media_comment_embed_gif()

Embed gif in activity comment content

Source: bp-media/bp-media-filters.php:1081

bp_media_comments_update_media_meta()

Update media for activity comment

Source: bp-media/bp-media-filters.php:225

bp_media_compress_image()

Compress the image

Source: bp-media/bp-media-functions.php:160

bp_media_count()

Output the media count.

Source: bp-media/bp-media-template.php:390

bp_media_date_created()

Output the media date created.

Source: bp-media/bp-media-template.php:803

bp_media_default_scope()

Get default scope for the media.

Source: bp-media/bp-media-functions.php:2306

bp_media_delete()

Delete media.

Source: bp-media/bp-media-functions.php:575

bp_media_delete_activity_gif()

Delete media gif when related activity is deleted.

Source: bp-media/bp-media-filters.php:480

bp_media_delete_activity_media()

Delete media when related activity is deleted.

Source: bp-media/bp-media-filters.php:450

bp_media_delete_attachment_media()

Delete media entries attached to the attachment

Source: bp-media/bp-media-filters.php:1390

bp_media_delete_orphaned_attachments()

Delete orphaned attachments uploaded

Source: bp-media/bp-media-functions.php:1217

bp_media_directory_page_content()

Function to add the content on top of media listing

Source: bp-media/bp-media-functions.php:2173

bp_media_directory_permalink()

Output media directory permalink.

Source: bp-media/bp-media-template.php:927

bp_media_download_error()

Die with an error message if the download fails.

Source: bp-media/bp-media-filters.php:1848

bp_media_download_file()

Source: bp-templates/bp-nouveau/includes/media/functions.php:211

bp_media_download_file_force()

Force download – this is the default method.

Source: bp-media/bp-media-filters.php:1820

bp_media_download_file_redirect()

Redirect to a file to start the download.

Source: bp-media/bp-media-filters.php:1863

bp_media_download_headers()

Set headers for the download.

Source: bp-media/bp-media-filters.php:1940

bp_media_download_link()

Return download link of the media.

Source: bp-media/bp-media-functions.php:2598

bp_media_download_url_file()

Check if user have a access to download the file. If not redirect to homepage.

Source: bp-media/bp-media-functions.php:2615

bp_media_file_upload_max_size()

Get file media upload max size

Source: bp-media/bp-media-functions.php:186

bp_media_filter_public_scope()

Set up media arguments for use with the ‘public’ scope.

Source: bp-media/bp-media-filters.php:1753

bp_media_form_option()

Output settings API option

Source: bp-media/bp-media-settings.php:310

bp_media_format_size_units()

Format file size units

Source: bp-media/bp-media-functions.php:208

bp_media_forum_privacy_repair()

Repair BuddyBoss media forums privacy.

Source: bp-media/bp-media-filters.php:1707

bp_media_forums_embed_attachments()

Embed topic or reply attachments in a post

Source: bp-media/bp-media-filters.php:648

bp_media_forums_embed_gif()

Embed topic or reply gif in a post

Source: bp-media/bp-media-filters.php:698

bp_media_forums_new_post_media_save()

Save media when new topic or reply is saved

Source: bp-media/bp-media-filters.php:551

bp_media_forums_save_gif_data()

save gif data for forum, topic, reply

Source: bp-media/bp-media-filters.php:742

bp_media_get()

Retrieve an media or medias.

Source: bp-media/bp-media-functions.php:261

bp_media_get_download_content_type()

Get content type of a download.

Source: bp-media/bp-media-filters.php:2069

bp_media_get_download_range()

Parse the HTTP_RANGE request from iOS devices.

Source: bp-media/bp-media-filters.php:2101

bp_media_get_edit_activity_data()

Adds activity media data for the edit activity

Source: bp-media/bp-media-filters.php:2263

bp_media_get_form_option()

Return settings API option

Source: bp-media/bp-media-settings.php:328

bp_media_get_forum_id()

Source: bp-media/bp-media-functions.php:2646

bp_media_get_gif_api_key()

Return GIFs API Key

Source: bp-media/bp-media-settings.php:788

bp_media_get_import_callbacks()

Callback for media migration

Source: bp-media/bp-media-filters.php:852

bp_media_get_media_activity()

Return the media activity.

Source: bp-media/bp-media-functions.php:689

bp_media_get_settings_fields()

Get all of the settings fields.

Source: bp-media/bp-media-settings.php:51

bp_media_get_settings_fields_for_section()

Get settings fields by section.

Source: bp-media/bp-media-settings.php:288

bp_media_get_settings_sections()

Get the Media settings sections.

Source: bp-media/bp-media-settings.php:20

bp_media_get_specific()

Fetch specific media items.

Source: bp-media/bp-media-functions.php:334

bp_media_get_thread_id()

Source: bp-media/bp-media-functions.php:2561

bp_media_get_tools_media_settings_admin_tabs()

Source: bp-media/bp-media-filters.php:1151

bp_media_get_total_group_album_count()

Get the album count of a given group.

Source: bp-media/bp-media-functions.php:800