bp_core_avatar_upload_path()
Get the absolute upload path for the WP installation.
Description
Return
(string) Absolute path to WP upload directory.
Source
File: bp-core/bp-core-avatars.php
function bp_core_avatar_upload_path() {
/**
* Filters the absolute upload path for the WP installation.
*
* @since BuddyPress 1.2.0
*
* @param string $value Absolute upload path for the WP installation.
*/
return apply_filters( 'bp_core_avatar_upload_path', bp_core_get_upload_dir() );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 1.2.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.