bp_get_folder_author()
Return the document name.
Description
Return
(int) The document name.
Source
File: bp-document/bp-document-template.php
1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 | function bp_get_folder_author() { global $document_folder_template ; if ( isset( $document_folder_template ) && isset( $document_folder_template ->folder ) && isset( $document_folder_template ->folder->user_id ) ) { $author = bp_core_get_user_displayname( $document_folder_template ->folder->user_id ); } /** * Filters the document name being displayed. * * @since BuddyBoss 1.4.0 * * @param int $id The document name. */ return apply_filters( 'bp_get_folder_author' , $author ); } |
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.