How to check if member has avatar ?
I want to check if the current member have an avatar or not in a front page, i try this too method
1. bp_get_user_has_avatar function return always false
2 . if ( !bp_core_fetch_avatar( array( ‘item_id’ => $bp->displayed_user->id, ‘no_grav’ => true ) ) ) return always false too.
Any help thank you ?
You must be logged in to reply to this topic.