bp_core_avatar_url()
Get the raw base URL for root site upload location.
Description
Return
(string) Full URL to current upload location.
Source
File: bp-core/bp-core-avatars.php
function bp_core_avatar_url() {
/**
* Filters the raw base URL for root site upload location.
*
* @since BuddyPress 1.2.0
*
* @param string $value Raw base URL for the root site upload location.
*/
return apply_filters( 'bp_core_avatar_url', bp_core_get_upload_dir( 'url' ) );
}
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.