Hooks |
Description |
---|---|
bp_media_extractor_galleries |
Filters image galleries extracted from text. |
bp_media_extractor_images |
Filters images extracted from text. |
bp_media_extractor_links |
Filters links extracted from text. |
bp_media_extractor_mentions |
Filters @mentions extracted from text. |
bp_media_extractor_shortcodes |
Filters shortcodes extracted from text. |
bp_media_extractor_strip_markup |
Filters the generated plain text version of the content passed to the extractor. |
bp_media_extractor_videos |
Filters videos extracted from text. |
bp_media_file_upload_max_size |
Filters file media upload max limit. |
bp_media_get |
Filters the requested media item(s). |
bp_media_get_gif_api_key |
Filters whether GIF key. |
bp_media_get_include_user_search |
Filters whether or not to include users for search parameters. |
bp_media_get_join_sql |
Filter the MySQL JOIN clause for the main media query. |
bp_media_get_media_activity |
Filters the media activity object being displayed. |
bp_media_get_settings_fields |
Photos Section |
bp_media_get_specific |
Filters the requested specific media item. |
bp_media_get_total_group_album_count |
Filters the total album count for a given group. |
bp_media_get_total_group_media_count |
Filters the total media count for a given group. |
bp_media_get_total_media_count |
Filters the total media count for a given user. |
bp_media_get_user_total_group_media_count |
Filters the total groups media count for a given user. |
bp_media_get_visibility_levels |
Filters the media visibility levels out of the $bp global. |
bp_media_get_where_conditions |
Filters the MySQL WHERE conditions for the Media items get method. |
bp_media_has_more_items |
Filters whether there are more media items to display. |
bp_media_paged_activities_sql |
Filters the paged media MySQL statement. |
bp_media_prefetch_object_data |
Filters inside prefetch_object_data method to aid in pre-fetching object data associated with media item. |
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 |
bp_media_remove_all_user_data |
Fires after the removal of all of a user’s media data. |
bp_media_screen_index |
Filters the template to load for the Media directory screen. |
bp_media_set_{$scope}_scope_args |
Plugins can hook here to set their media arguments for custom scopes. |
bp_media_total_medias_sql |
Filters the total media MySQL statement. |
bp_media_user_can_delete |
Filters whether the current user can delete an media item. |
bp_member_avatar |
Filters a members avatar. |
bp_member_default_component |
– Enable Photos as default user profile page. |
bp_member_header_actions |
Fires in the member header actions section. |
bp_member_invite_submit |
Fires after a member invitation sent to invitee. |
bp_member_is_loggedin_user |
Filters whether the current member in the loop is the logged-in user. |
bp_member_last_active |
Filters the current members last active time. |
bp_member_name |
Filters the display name of current member in the loop. |
bp_member_registered |
Filters the ‘registered [x days ago]’ string for the current member. |
bp_member_switching_switched_message |
Filters the contents of the message that’s displayed to switched users in the admin area. |
bp_member_type_default_on_registration |
Filters whether default profile type set on registration. |
bp_member_type_display_on_profile |
Filters whether display member type on profile is enabled or not. |
bp_member_type_enable_disable |
Filters whether member type is enabled or not. |
bp_member_type_illegal_names |
Filters the list of illegal profile type names. |
bp_member_type_post_type |
Filters the post type slug for the profile type component. |
bp_members_admin_allowed_actions |
Filters the allowed actions for use in the user admin page. |
bp_members_admin_css |
Filters the CSS URL to enqueue in the Members admin area. |
bp_members_admin_enqueue_scripts |
Fires after all of the members JavaScript and CSS are enqueued. |
bp_members_admin_js |
Filters the JS URL to enqueue in the Members admin area. |
bp_members_admin_load |
Fires at the start of the signups admin load. |
bp_members_admin_update_signups |
Fires at end of signups admin load if doaction does not match any actions. |