bp_document_screen_index()
Load the Document directory.
Description
Source
File: bp-document/screens/directory.php
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | function bp_document_screen_index() { if ( bp_is_document_directory() ) { bp_update_is_directory( true, 'document' ); /** * Fires right before the loading of the Document directory screen template file. * * @since BuddyBoss 1.4.0 */ do_action( 'bp_document_screen_index' ); /** * Filters the template to load for the Document directory screen. * * @since BuddyBoss 1.4.0 * * @param string $template Path to the document template to load. */ bp_core_load_template( apply_filters( 'bp_document_screen_index' , 'folder/index' ) ); } } |
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.