Following are some important and usable BP activity hooks and filters to customize your activity component according to your choice.

  1. bp_activity_type_tabs

     do_action( 'bp_activity_type_tabs' )

    Component: bp-themes | File: /bp-themes/bp-default/activity/index.php

  2. bp_activity_sitewide_feed_head

     do_action('bp_activity_sitewide_feed_head')

    Component: bp-activity | File: /bp-activity/feeds/bp-activity-sitewide-feed.php

  3. bp_activity_syndication_options

     do_action( 'bp_activity_syndication_options' )

    Component: bp-themes | File: /bp-themes/bp-default/activity/index.php

  4. bp_activity_sitewide_feed

     do_action('bp_activity_sitewide_feed')

    Component: bp-activity | File: /bp-activity/feeds/bp-activity-sitewide-feed.php

  5. bp_activity_sent_reply_to_update_email

     do_action( 'bp_activity_sent_reply_to_update_email', $original_activity->user_id, $subject, $message, $comment_id, $commenter_id, $params )

    Component: bp-activity | File: /bp-activity/bp-activity-notifications.php

  6. bp_activity_sent_reply_to_reply_email

     do_action( 'bp_activity_sent_reply_to_reply_email', $original_activity->user_id, $subject, $message, $comment_id, $commenter_id, $params )

    Component: bp-activity | File: /bp-activity/bp-activity-notifications.php

  7. bp_activity_sent_mention_email

     do_action( 'bp_activity_sent_mention_email', $activity, $subject, $message, $content )

    Component: bp-activity | File: /bp-activity/bp-activity-notifications.php

  8. bp_activity_screen_single_activity_permalink

     do_action( 'bp_activity_screen_single_activity_permalink', $activity, $has_access )

    Component: bp-activity | File: /bp-activity/bp-activity-screens.php

  9. bp_activity_screen_notification_settings

     do_action( 'bp_activity_screen_notification_settings' )

    Component: bp-activity | File: /bp-activity/bp-activity-screens.php

  10. bp_activity_screen_mentions

     do_action( 'bp_activity_screen_mentions' )

    Component: bp-activity | File: /bp-activity/bp-activity-screens.php

  11. bp_activity_screen_my_activity

     do_action( 'bp_activity_screen_my_activity' )

    Component: bp-activity | File: /bp-activity/bp-activity-screens.php

  12. bp_activity_screen_index

     do_action( 'bp_activity_screen_index' )

    Component: bp-activity | File: /bp-activity/bp-activity-screens.php

  13. bp_activity_screen_groups

     do_action( 'bp_activity_screen_groups' )

    Component: bp-activity | File: /bp-activity/bp-activity-screens.php

  14. bp_activity_screen_friends

     do_action( 'bp_activity_screen_friends' )

    Component: bp-activity | File: /bp-activity/bp-activity-screens.php

  15. bp_activity_remove_user_favorite

     do_action( 'bp_activity_remove_user_favorite', $activity_id, $user_id )

    Component: bp-activity | File: /bp-activity/bp-activity-functions.php

  16. bp_activity_screen_favorites

     do_action( 'bp_activity_screen_favorites' )

    Component: bp-activity | File: /bp-activity/bp-activity-screens.php

  17. bp_activity_remove_data

     do_action( 'bp_activity_remove_data', $user_id )

    Component: bp-activity | File: /bp-activity/bp-activity-functions.php

  18. bp_activity_remove_all_user_data

     do_action( 'bp_activity_remove_all_user_data', $user_id )

    Component: bp-activity | File: /bp-activity/bp-activity-functions.php

  19. bp_activity_post_form_options

     do_action( 'bp_activity_post_form_options' )

    Component: bp-themes | File: /bp-themes/bp-default/activity/post-form.php

  20. bp_activity_posted_update

     do_action( 'bp_activity_posted_update', $content, $user_id, $activity_id )

    Component: bp-activity | File: /bp-activity/bp-activity-functions.php

  21. bp_activity_personal_feed_item

     do_action('bp_activity_personal_feed_item')

    Component: bp-activity | File: /bp-activity/feeds/bp-activity-personal-feed.php, /bp-activity/feeds/bp-activity-sitewide-feed.php

  22. bp_activity_personal_feed_head

     do_action('bp_activity_personal_feed_head')

    Component: bp-activity | File: /bp-activity/feeds/bp-activity-personal-feed.php

  23. bp_activity_personal_feed

     do_action('bp_activity_personal_feed')

    Component: bp-activity | File: /bp-activity/feeds/bp-activity-personal-feed.php

  24. bp_activity_mygroups_feed_head

     do_action('bp_activity_mygroups_feed_head')

    Component: bp-activity | File: /bp-activity/feeds/bp-activity-mygroups-feed.php

  25. bp_activity_mygroups_feed_item

     do_action('bp_activity_mygroups_feed_item')

    Component: bp-activity | File: /bp-activity/feeds/bp-activity-mygroups-feed.php

  26. bp_activity_mygroups_feed

     do_action('bp_activity_mygroups_feed')

    Component: bp-activity | File: /bp-activity/feeds/bp-activity-mygroups-feed.php

  27. bp_activity_mentions_feed_item

     do_action('bp_activity_mentions_feed_item')

    Component: bp-activity | File: /bp-activity/feeds/bp-activity-mentions-feed.php

  28. bp_activity_mentions_feed_head

     do_action('bp_activity_mentions_feed_head')

    Component: bp-activity | File: /bp-activity/feeds/bp-activity-mentions-feed.php

  29. bp_activity_mentions_feed

     do_action('bp_activity_mentions_feed')

    Component: bp-activity | File: /bp-activity/feeds/bp-activity-mentions-feed.php

  30. bp_activity_group_feed_head

     do_action('bp_activity_group_feed_head')

    Component: bp-activity | File: /bp-activity/feeds/bp-activity-group-feed.php

  31. bp_activity_group_feed_item

     do_action('bp_activity_group_feed_item')

    Component: bp-activity | File: /bp-activity/feeds/bp-activity-group-feed.php

  32. bp_activity_group_feed

     do_action('bp_activity_group_feed')

    Component: bp-activity | File: /bp-activity/feeds/bp-activity-group-feed.php

  33. bp_activity_friends_feed

     do_action('bp_activity_friends_feed')

    Component: bp-activity | File: /bp-activity/feeds/bp-activity-friends-feed.php

  34. bp_activity_friends_feed_head

     do_action('bp_activity_friends_feed_head')

    Component: bp-activity | File: /bp-activity/feeds/bp-activity-friends-feed.php

  35. bp_activity_filter_options

     do_action( 'bp_activity_filter_options' )

    Component: bp-themes | File: /bp-themes/bp-default/activity/index.php

  36. bp_activity_favorites_feed_item

     do_action('bp_activity_favorites_feed_item')

    Component: bp-activity | File: /bp-activity/feeds/bp-activity-favorites-feed.php

  37. bp_activity_favorites_feed_head

     do_action('bp_activity_favorites_feed_head')

    Component: bp-activity | File: /bp-activity/feeds/bp-activity-favorites-feed.php

  38. bp_activity_favorites_feed

     do_action('bp_activity_favorites_feed')

    Component: bp-activity | File: /bp-activity/feeds/bp-activity-favorites-feed.php

  39. bp_activity_entry_content

     do_action( 'bp_activity_entry_content' )

    Component: bp-themes | File: /bp-themes/bp-default/activity/entry.php

  40. bp_activity_entry_meta

     do_action( 'bp_activity_entry_meta' )

    Component: bp-themes | File: /bp-themes/bp-default/activity/entry.php

  41. bp_activity_entry_comments

     do_action( 'bp_activity_entry_comments' )

    Component: bp-themes | File: /bp-themes/bp-default/activity/entry.php

  42. bp_activity_delete_comment

     do_action( 'bp_activity_delete_comment', $activity_id, $comment_id )

    Component: bp-activity | File: /bp-activity/bp-activity-functions.php

  43. bp_activity_deleted_activities

     do_action( 'bp_activity_deleted_activities', $activity_ids_deleted )

    Component: bp-activity | File: /bp-activity/bp-activity-functions.php

  44. bp_activity_delete

     do_action( 'bp_activity_delete', $args )

    Component: bp-activity | File: /bp-activity/bp-activity-functions.php

  45. bp_activity_comment_posted

     do_action( 'bp_activity_comment_posted', $comment_id, $params )

    Component: bp-activity | File: /bp-activity/bp-activity-functions.php

  46. bp_activity_before_action_delete_activity

     do_action( 'bp_activity_before_action_delete_activity', $activity_id, $activity->user_id )

    Component: bp-activity, bp-themes | File: /bp-activity/bp-activity-actions.php, /bp-themes/bp-default/_inc/ajax.php

  47. bp_activity_add_user_favorite_fail

     do_action( 'bp_activity_add_user_favorite_fail', $activity_id, $user_id )

    Component: bp-activity | File: /bp-activity/bp-activity-functions.php

  48. bp_activity_add

     do_action( 'bp_activity_add', $params )

    Component: bp-activity | File: /bp-activity/bp-activity-functions.php

  49. bp_activity_add_user_favorite

     do_action( 'bp_activity_add_user_favorite', $activity_id, $user_id )

    Component: bp-activity | File: /bp-activity/bp-activity-functions.php

  50. bp_activity_action_delete_activity

     do_action( 'bp_activity_action_delete_activity', $activity_id, $activity->user_id )

    Component: bp-activity, bp-themes | File: /bp-activity/bp-activity-actions.php, /bp-themes/bp-default/_inc/ajax.php

  51. bp_active_external_pages

     do_action( 'bp_active_external_pages' )

    Component: bp-core | File: /bp-core/admin/bp-core-admin.php

  52. bp_active_external_directories

     do_action( 'bp_active_external_directories' )

    Component: bp-core | File: /bp-core/admin/bp-core-admin.php

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.