xprofile_register_activity_actions()
Register the activity actions for the Extended Profile component.
Description Description
Source Source
File: bp-xprofile/bp-xprofile-activity.php
function xprofile_register_activity_actions() { // Register the activity stream actions for this component. bp_activity_set_action( // Older avatar activity items use 'profile' for component. See r4273. 'profile', 'new_avatar', __( 'Member changed profile picture', 'buddypress' ), 'bp_xprofile_format_activity_action_new_avatar', __( 'Updated Profile Photos', 'buddypress' ) ); bp_activity_set_action( buddypress()->profile->id, 'updated_profile', __( 'Updated Profile', 'buddypress' ), 'bp_xprofile_format_activity_action_updated_profile', __( 'Profile Updates', 'buddypress' ), array( 'activity' ) ); /** * Fires after the registration of default activity actions for Extended Profile component. * * @since 1.1.0 */ do_action( 'xprofile_register_activity_actions' ); }
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |