File: bp-activity/bp-activity-functions.php |
Description |
---|---|
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. |
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. |