[ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
BuddyPress Member Activity
File Size: | 288 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
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 param: string $action Static activity action. param: object $activity Activity object. since: 2.2.0 |
bp_members_format_activity_action_new_avatar( $action, $activity ) X-Ref |
Format 'new_avatar' activity actions. return: string param: string $action Static activity action. param: object $activity Activity object. since: 8.0.0 |
bp_core_new_user_activity( $user ) X-Ref |
Create a "became a registered user" activity item when a user activates his account. return: bool param: array $user Array of userdata passed to bp_core_activated_user hook. since: 1.2.2 |
bp_members_new_avatar_activity( $user_id = 0, $type = '', $crop_data = array() X-Ref |
Adds an activity stream item when a user has uploaded a new avatar. param: int $user_id The user id the avatar was set for. param: string $type The way the avatar was set ('camera' or `crop`). param: array $crop_data Array of parameters passed to the crop handler. param: array $cropped_avatar Array containing the full, thumb avatar and the timestamp. since: 8.0.0 since: 10.0.0 Adds the `$type`, `$crop_data` and `$cropped_avatar` parameters. |
bp_members_remove_previous_avatar_activity( $user_id = 0, $timestamp = 0 ) X-Ref |
Remove the `new_avatar` activity corresponding to the deleted previous avatar. return: bool True on success. False otherwise. param: int $user_id The user ID. param: int $timestamp The timestamp when the activity was created. since: 10.0.0 |
Generated: Thu Nov 21 01:00:57 2024 | Cross-referenced by PHPXref 0.7.1 |