xprofile_register_activity_action

  • apply_filters( 'xprofile_register_activity_action', bp_activity_set_action( $bp->profile->id, $key, $value ), $key, $value )

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-activity.php :: Trac Source Line: 106
      	}
      }
      
      function xprofile_register_activity_action( $key, $value ) {
      	global $bp;
      
      	if ( !bp_is_active( 'activity' ) )
      		return false;
      
      	return apply_filters( 'xprofile_register_activity_action', bp_activity_set_action( $bp->profile->id, $key, $value ), $key, $value );
      }
      
      /**
       * Adds an activity stream item when a user has uploaded a new avatar.
       *
       * @package BuddyPress XProfile
       * @global object $bp Global BuddyPress settings object
       * @uses bp_activity_add() Adds an entry to the activity component tables for a specific activity
       */
      function bp_xprofile_new_avatar_activity() {
      

Comments are closed.