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