File: bp-activity/bp-activity-functions.php |
Description |
---|---|
bp_activity_do_heartbeat |
Filters whether the heartbeat feature in the activity feed should be active. |
bp_ajax_get_comments() |
AJAX endpoint for activity comments. |
bp_activity_catch_transition_post_type_status() |
Detect a change in post type status, and initiate an activity update if necessary. |
bp_activity_post_type_edit_{$post->post_type} |
Fires when editing the post and the new status is not ‘publish’. |
bp_activity_post_type_untrash_{$post->post_type} |
Fires if untrashing post in a post type. |
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. |