bp_get_document_slug()

Return the document component slug.

Description

Return

(string)

Source

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

27
28
29
30
31
32
33
34
35
36
37
function bp_get_document_slug() {
 
    /**
     * Filters the document component slug.
     *
     * @since BuddyBoss 1.4.0
     *
     * @param string $slug Document component slug.
     */
    return apply_filters( 'bp_get_document_slug', buddypress()->document->slug );
}

Changelog

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