bp_get_media_directory_permalink()

Return media directory permalink.

Description

Return

(string)

Source

File: bp-media/bp-media-template.php

937
938
939
940
941
942
943
944
945
946
947
function bp_get_media_directory_permalink() {
 
    /**
     * Filters the media directory permalink.
     *
     * @since BuddyBoss 1.0.0
     *
     * @param string $value Media directory permalink.
     */
    return apply_filters( 'bp_get_media_directory_permalink', trailingslashit( bp_get_root_domain() . '/' . bp_get_media_root_slug() ) );
}

Changelog

Changelog
Version Description
BuddyBoss 1.0.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.