Methods
Description
BP_Media_Privacy::get_visibility_options()

get options for visibility

Source: bp-media/classes/class-bp-media-privacy.php:49

BP_Media_Privacy::instance()

Get the instance of this class.

Source: bp-media/classes/class-bp-media-privacy.php:32

BP_Media_Privacy::is_media_visible()

Check if media is visible or not to the logged in user

Source: bp-media/classes/class-bp-media-privacy.php:91

BP_Media_Query::__construct()

Constructor.

Source: bp-media/classes/class-bp-media-query.php:83

BP_Media_Query::get_sql()

Generates WHERE SQL clause to be appended to a main query.

Source: bp-media/classes/class-bp-media-query.php:100

BP_Media_Query::get_sql_for_clause()

Generate WHERE clauses for a first-order clause.

Source: bp-media/classes/class-bp-media-query.php:126

BP_Media_Query::is_first_order_clause()

Determine whether a clause is first-order.

Source: bp-media/classes/class-bp-media-query.php:246

BP_Media_Query::validate_column()

Validates a column name parameter.

Source: bp-media/classes/class-bp-media-query.php:261

BP_Media_Rotation::__construct()

Constructor method.

Source: bp-media/classes/class-bp-media-rotation.php:27

BP_Media_Rotation::attachment_uploaded()

Attachment uploaded and fix rotation

Source: bp-media/classes/class-bp-media-rotation.php:42

BP_Media_Rotation::fix_rotation()

Fix rotation of mobile uploaded images

Source: bp-media/classes/class-bp-media-rotation.php:109

BP_Media_Rotation::flip_image()

Flips the image

Source: bp-media/classes/class-bp-media-rotation.php:173

BP_Media_Rotation::init()

Source: bp-media/classes/class-bp-media-rotation.php:31

BP_Media_Rotation::rotation_shutdown_fallback()

Attempt to capture a failed image rotation due to memory exhaustion

Source: bp-media/classes/class-bp-media-rotation.php:67

BP_Media_Template::__construct()

Constructor method.

Source: bp-media/classes/class-bp-media-template.php:136

BP_Media_Template::has_media()

Whether there are media items available in the loop.

Source: bp-media/classes/class-bp-media-template.php:253

BP_Media_Template::next_media()

Set up the next media item and iterate index.

Source: bp-media/classes/class-bp-media-template.php:268

BP_Media_Template::rewind_medias()

Rewind the posts and reset post index.

Source: bp-media/classes/class-bp-media-template.php:280

BP_Media_Template::the_media()

Set up the current media item inside the loop.

Source: bp-media/classes/class-bp-media-template.php:333

BP_Media_Template::user_medias()

Whether there are media items left in the loop to iterate over.

Source: bp-media/classes/class-bp-media-template.php:301

BP_Media_Theme_Compat::__construct()

Set up the media component theme compatibility.

Source: bp-media/classes/class-bp-media-theme-compat.php:27

BP_Media_Theme_Compat::directory_content()

Filter the_content with the groups index template part.

Source: bp-media/classes/class-bp-media-theme-compat.php:118

BP_Media_Theme_Compat::directory_dummy_post()

Update the global $post with directory data.

Source: bp-media/classes/class-bp-media-theme-compat.php:97

BP_Media_Theme_Compat::directory_template_hierarchy()

Add template hierarchy to theme compat for the media directory page.

Source: bp-media/classes/class-bp-media-theme-compat.php:69

BP_Media_Theme_Compat::is_media()

Set up the theme compatibility hooks, if we’re looking at an media page.

Source: bp-media/classes/class-bp-media-theme-compat.php:36

BP_Media_Theme_Compat::single_dummy_content()

Filter the_content with the members’ media permalink template part.

Source: bp-media/classes/class-bp-media-theme-compat.php:183

BP_Media_Theme_Compat::single_dummy_post()

Update the global $post with the displayed user’s data.

Source: bp-media/classes/class-bp-media-theme-compat.php:162

BP_Media_Theme_Compat::single_template_hierarchy()

Add custom template hierarchy to theme compat for media permalink pages.

Source: bp-media/classes/class-bp-media-theme-compat.php:134

BP_Media::__construct()

Constructor method.

Source: bp-media/classes/class-bp-media.php:138

BP_Media::append_user_fullnames()

Append xProfile fullnames to an media array.

Source: bp-media/classes/class-bp-media.php:672

BP_Media::delete()

Delete media items from the database.

Source: bp-media/classes/class-bp-media.php:889

BP_Media::get()

Get media items, as specified by parameters.

Source: bp-media/classes/class-bp-media.php:294

BP_Media::get_activity_attachment_id()

Get media attachment id for the activity.

Source: bp-media/classes/class-bp-media.php:1183

BP_Media::get_activity_media_id()

Get media id for the activity.

Source: bp-media/classes/class-bp-media.php:1163

BP_Media::get_album_media_ids()

Get all media ids for the album

Source: bp-media/classes/class-bp-media.php:1134

BP_Media::get_in_operator_sql()

Create SQL IN clause for filter queries.

Source: bp-media/classes/class-bp-media.php:838

BP_Media::get_media_data()

Convert media IDs to media objects, as expected in template loop.

Source: bp-media/classes/class-bp-media.php:566

BP_Media::get_scope_query_sql()

Get the SQL for the ‘scope’ param in BP_Media::get().

Source: bp-media/classes/class-bp-media.php:732

BP_Media::populate()

Populate the object with data about the specific media item.

Source: bp-media/classes/class-bp-media.php:153

BP_Media::prefetch_object_data()

Pre-fetch data for objects associated with media items.

Source: bp-media/classes/class-bp-media.php:705

BP_Media::save()

Save the media item to the database.

Source: bp-media/classes/class-bp-media.php:191

BP_Media::total_group_media_count()

Count total media for the given group

Source: bp-media/classes/class-bp-media.php:1099

BP_Media::total_media_count()

Count total media for the given user

Source: bp-media/classes/class-bp-media.php:1079

BP_Media::total_user_group_media_count()

Count total groups media for the given user.

Source: bp-media/classes/class-bp-media.php:1115

BP_Members_Admin::__construct()

Constructor method.

Source: bp-members/classes/class-bp-members-admin.php:88

BP_Members_Admin::add_edit_profile_url_filter()

Add a filter to edit profile url in WP Admin Bar.

Source: bp-members/classes/class-bp-members-admin.php:1533

BP_Members_Admin::admin_head()

Remove the Edit Profile page.

Source: bp-members/classes/class-bp-members-admin.php:720

BP_Members_Admin::admin_menus()

Create the All Users / Profile > Edit Profile and All Users Signups submenus.

Source: bp-members/classes/class-bp-members-admin.php:589

BP_Members_Admin::bp_group_layout_update_option()

Set Cookie to reset the previous layout stored in browser storage.

Source: bp-members/classes/class-bp-members-admin.php:2776

BP_Members_Admin::bp_profile_layout_update_option()

Set Cookie to reset the previous layout stored in browser storage.

Source: bp-members/classes/class-bp-members-admin.php:2765