| [ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
BuddyPress XProfile Activity & Notification Functions. These functions handle the recording, deleting and formatting of activity items and notifications for the user and for this specific component.
| File Size: | 272 lines (8 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| xprofile_register_activity_actions() X-Ref |
| Register the activity actions for the Extended Profile component. since: 1.0.0 |
| bp_xprofile_format_activity_action_updated_profile( $action, $activity ) X-Ref |
| Format 'updated_profile' activity actions. param: string $action Static activity action. param: object $activity Activity object. since: 2.0.0 return: string |
| xprofile_record_activity( $args = '' ) X-Ref |
| Records activity for the logged in user within the profile component so that it will show in the users activity stream (if installed). param: array|string $args String containing all variables used after bp_parse_args() call. since: 1.0.0 return: WP_Error|bool|int |
| xprofile_delete_activity( $args = '' ) X-Ref |
| Deletes activity for a user within the profile component so that it will be removed from the users activity stream and sitewide stream (if installed). param: array|string $args Containing all variables used after bp_parse_args() call. since: 1.0.0 return: bool |
| xprofile_register_activity_action( $key, $value ) X-Ref |
| Register an activity action for the Extended Profiles component. param: string $key Key. param: string $value Value. since: 1.0.0 return: bool True if success, false on failure. |
| bp_xprofile_updated_profile_activity( $user_id, $field_ids = array() X-Ref |
| Add an activity item when a user has updated his profile. param: int $user_id ID of the user who has updated his profile. param: array $field_ids IDs of the fields submitted. param: bool $errors True if validation or saving errors occurred, otherwise false. param: array $old_values Pre-save xprofile field values and visibility levels. param: array $new_values Post-save xprofile field values and visibility levels. since: 2.0.0 return: bool True on success, false on failure. |
| xprofile_activity_filter_options() X-Ref |
| Add filters for xprofile activity types to Show dropdowns. since: 2.0.0 |
| Generated: Fri Nov 7 01:00:56 2025 | Cross-referenced by PHPXref 0.7.1 |