bp_members_avatar_upload_dir( string $directory = 'avatars', int $user_id )

Setup the avatar upload directory for a user.

Description Description

Parameters Parameters


(Optional) The root directory name. Optional.

Default value: 'avatars'


(Required) The user ID. Optional.

Top ↑

Return Return

(array) Array containing the path, URL, and other helpful settings.

Top ↑

Source Source

File: bp-members/bp-members-functions.php

Top ↑

Changelog Changelog

Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.