Méthode | Description | |
---|---|---|
__construct ( ) | ||
activity_after_media_comment ( $params ) | Create BuddyPress activity when user comment on media | |
activity_after_media_like ( $obj ) | Create BP activity when user like and delete associated activity when user remove like. | |
bp_activity_deleted_activities ( $activity_ids_deleted ) | ||
bp_activity_posted_update ( $content, $user_id, $activity_id ) | ||
bp_after_activity_post_form ( ) | ||
bp_get_activity_parent_content ( $content ) | ||
bp_groups_posted_update ( $content, $user_id, $group_id, $activity_id ) | ||
bp_prefetch_activity_object_data ( $activities ) | To add dynamic activity actions for translation of activity items | |
comment_sync ( $comment_id, $param ) | ||
delete_comment_sync ( $activity_id, $comment_id ) | ||
manage_user_last_activity_update ( $content, $user_id, $activity_id ) | Update bp_latest_update user meta with lasted public update. | |
non_threaded_comments ( ) | ||
override_allowed_tags ( $activity_allowedtags ) | ||
remove_activity_after_media_comment_delete ( $comment_id ) | Remove activity when comment on media is deleted | |
rtm_bp_activity_permalink_access ( boolean $args ) : boolean | To check user has access to view single activity | |
rtm_bp_activity_user_can_delete ( boolean $can_delete, object $activity ) : boolean | To check whether user can delete the activity or not |
public activity_after_media_comment ( $params ) | ||
$params | array |
public activity_after_media_like ( $obj ) | ||
$obj | RTMediaLike |
public bp_activity_deleted_activities ( $activity_ids_deleted ) |
public bp_activity_posted_update ( $content, $user_id, $activity_id ) |
public bp_groups_posted_update ( $content, $user_id, $group_id, $activity_id ) |
public bp_prefetch_activity_object_data ( $activities ) | ||
$activities |
public manage_user_last_activity_update ( $content, $user_id, $activity_id ) | ||
$content | ||
$user_id | ||
$activity_id |
public remove_activity_after_media_comment_delete ( $comment_id ) | ||
$comment_id |
public rtm_bp_activity_permalink_access ( boolean $args ) : boolean | ||
$args | boolean | |
Résultat | boolean | $has_access |