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

1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
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

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.