File: bp-activity/bp-activity-functions.php |
Description |
---|---|
bp_activity_post_type_transition_status_{$post->post_type} |
Fires when the old and the new post status are not ‘publish’. |
bp_activity_transition_post_type_comment_status() |
When a post type comment status transition occurs, update the relevant activity’s status. |
bp_activity_pre_transition_post_type_comment_status |
Leave a chance to plugins to manage activity comments differently. |
bp_start_following() |
Start following a user’s activity. |
bp_stop_following() |
Stop following a user’s activity. |
bp_is_following() |
Check if a user is already following another user. |
bp_get_followers() |
Fetch the user IDs of all the followers of a particular user. |
bp_get_following() |
Fetch the user IDs of all the users a particular user is following. |
bp_activity_do_heartbeat() |
Should we use Heartbeat to refresh activities? |
bp_activity_do_heartbeat |
Filters whether the heartbeat feature in the activity feed should be active. |