bp_get_activity_secondary_avatar

  • apply_filters( 'bp_get_activity_secondary_avatar', bp_core_fetch_avatar( array( 'item_id' => $item_id, 'object' => $object, 'type' => $type, 'alt' => $alt, 'class' => $class, 'width' => $width, 'height' => $height, 'email' => $emai

    Source Reference:

    • Component: BuddyPress :: bp-activity
      File: /bp-activity/bp-activity-template.php :: Trac Source Line: 1030
      		// Allow object and item_id to be filtered
      		$object  = apply_filters( 'bp_get_activity_secondary_avatar_object_' . $activities_template->activity->component, $object );
      		$item_id = apply_filters( 'bp_get_activity_secondary_avatar_item_id', $item_id );
      
      		// If we have no item_id or object, there is no avatar to display
      		if ( empty( $item_id ) || empty( $object ) )
      			return false;
      
      		return apply_filters( 'bp_get_activity_secondary_avatar', bp_core_fetch_avatar( array( 'item_id' => $item_id, 'object' => $object, 'type' => $type, 'alt' => $alt, 'class' => $class, 'width' => $width, 'height' => $height, 'email' => $email ) ) );
      	}
      
      /**
       * Output the activity action
       *
       * @since 1.2.0
       *
       * @uses bp_get_activity_action()
       */
      function bp_activity_action() {
      

Comments are closed.