[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-members/ -> bp-members-activity.php (summary)

BuddyPress Member Activity

File Size: 182 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 5 functions

  bp_members_register_activity_actions()
  bp_members_format_activity_action_new_member()
  bp_members_format_activity_action_new_avatar()
  bp_core_new_user_activity()
  bp_members_new_avatar_activity()

Functions
Functions that are not part of a class:

bp_members_register_activity_actions()   X-Ref
Register the 'new member' activity type.

since: 2.2.0

bp_members_format_activity_action_new_member( $action, $activity )   X-Ref
Format 'new_member' activity actions.

return: string $action
since: 2.2.0
param: string $action   Static activity action.
param: object $activity Activity object.

bp_members_format_activity_action_new_avatar( $action, $activity )   X-Ref
Format 'new_avatar' activity actions.

return: string
since: 8.0.0
param: string $action   Static activity action.
param: object $activity Activity object.

bp_core_new_user_activity( $user )   X-Ref
Create a "became a registered user" activity item when a user activates his account.

return: bool
since: 1.2.2
param: array $user Array of userdata passed to bp_core_activated_user hook.

bp_members_new_avatar_activity( $user_id = 0 )   X-Ref
Adds an activity stream item when a user has uploaded a new avatar.

since: 8.0.0
param: int $user_id The user id the avatar was set for.



Generated: Mon Apr 19 01:01:38 2021 Cross-referenced by PHPXref 0.7.1