BP_Group_Extension::_display_hook()
Hook the main display method, and loads the template file.
Description
Source
File: bp-groups/classes/class-bp-group-extension.php
public function _display_hook() {
add_action( 'bp_template_content', array( &$this, 'call_display' ) );
/**
* Filters the template to load for the main display method.
*
* @since BuddyPress 1.0.0
*
* @param string $template_file Path to the template to load.
*/
bp_core_load_template( apply_filters( 'bp_core_template_plugin', $this->template_file ) );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 1.1.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.