Total Uploaded Media Files


I’d like to ask for some help here, I wanted to put on the members profile (Below Last Active Time) the total Media Files Uploaded (Like Shown on the Members Profile Navigation Menu), How do I call the total Uploaded media for one user?


All the counts are stored as meta values.

You can get the counts using following code. It will return an array using which you can show counts.

$rtmedia_nav = new RTMediaNav(false);  
$media_counts = $rtmedia_nav->actual_counts(bp_displayed_user_id());