Functions |
Description |
---|---|
bp_activity_remove_screen_notifications_single_post() |
Mark notifications as read when a user visits an single post. |
bp_activity_remove_user_favorite() |
Remove an activity feed item as a favorite for a user. |
bp_activity_remove_user_favorite_meta() |
Delete users liked activity meta. |
bp_activity_reset_cache_incrementor() |
Reset cache incrementor for the Activity component. |
bp_activity_reset_my_new_mentions() |
Reset the logged-in user’s new mentions data when he visits his mentions screen. |
bp_activity_root_slug() |
Output the activity component root slug. |
bp_activity_save_link_data() |
Save link preview data into activity meta key “_link_preview_data” |
bp_activity_screen_favorites() |
Load the ‘Favorites’ activity page. |
bp_activity_screen_following() |
Load the ‘My Following’ activity page. |
bp_activity_screen_friends() |
Load the ‘My Connections’ activity page. |
bp_activity_screen_groups() |
Load the ‘My Groups’ activity page. |
bp_activity_screen_index() |
Load the Activity directory. |
bp_activity_screen_mentions() |
Load the ‘Mentions’ activity page. |
bp_activity_screen_my_activity() |
Load the ‘My Activity’ page. |
bp_activity_screen_notification_settings() |
Add activity notifications settings to the notifications settings page. |
bp_activity_screen_single_activity_permalink() |
Load the page for a single activity item. |
bp_activity_secondary_avatar() |
Output the avatar of the object that action was performed on. |
bp_activity_secondary_item_id() |
Output the activity secondary item ID. |
bp_activity_set_action() |
Register an activity ‘type’ and its action description/callback. |
bp_activity_set_post_type_tracking_args() |
Set tracking arguments for a given post type. |
bp_activity_settings_tutorial() |
Link to Activity Settings tutorial |
bp_activity_setup_akismet() |
Loads Akismet filtering for activity. |
bp_activity_setup_oembed() |
Loads our activity oEmbed component. |
bp_activity_show_filters() |
Display available filters depending on the scope. |
bp_activity_sitewide_feed() |
Template tag so we can hook activity feed to . |
bp_activity_slug() |
Output the activity component slug. |
bp_activity_spam_all_user_data() |
Mark all of the user’s activity as spam. |
bp_activity_thread_permalink() |
Output the activity thread permalink. |
bp_activity_thumbnail_content_images() |
Take content, remove images, and replace them with a single thumbnail image. |
bp_activity_timestamp_class() |
Check if Activity Heartbeat feature i on to add a timestamp class. |
bp_activity_total_favorites_for_user() |
Retrieve the number of favorite activity feed items a user has. |
bp_activity_transition_post_type_comment_status() |
When a post type comment status transition occurs, update the relevant activity’s status. |
bp_activity_truncate_entry() |
Truncate long activity entries when viewed in activity feeds. |
bp_activity_type() |
Output the activity type. |
bp_activity_type_supports() |
Check if the *Post Type* activity supports a specific feature. |
bp_activity_types_list() |
Echo a list of all registered activity types for use in dropdowns or checkbox lists. |
bp_activity_unfavorite_link() |
Output the activity unfavorite link. |
bp_activity_update_comment_privacy() |
Update activity comment privacy with parent activity privacy update. |
bp_activity_update_mention_count_for_user() |
Update the mention count for a given user. |
bp_activity_update_meta() |
Update a piece of activity meta. |
bp_activity_update_meta_cache() |
Slurp up activitymeta for a specified set of activity items. |
bp_activity_update_reply_add_notification() |
Notify a member one of their activity received a reply. |
bp_activity_user_can_delete() |
Determine if the current user can delete an activity item. |
bp_activity_user_can_edit() |
Determine if the current user can edit an activity item. |
bp_activity_user_can_mark_spam() |
Fetch whether the current user is allowed to mark items as spam. |
bp_activity_user_can_read() |
Can a user see a particular activity item? |
bp_activity_user_id() |
Output the activity user ID. |
bp_activity_user_link() |
Output the activity user link. |
bp_add_activation_redirect() |
Redirect user to BP’s What’s New page on first page load after activation. |
bp_add_caps() |
Add capabilities to WordPress user roles. |