LLMS_Integration_Buddypress::configure()
Configure the integration.
Description Description
Do things like configure ID and title here.
Return Return
(void)
Source Source
File: includes/integrations/class.llms.integration.buddypress.php
protected function configure() {
add_action( 'init', array( $this, 'set_title_and_description' ) );
if ( $this->is_available() ) {
add_action( 'bp_setup_nav', array( $this, 'add_profile_nav_items' ) );
add_filter( 'llms_page_restricted_before_check_access', array( $this, 'restriction_checks' ), 40, 1 );
add_filter( 'lifterlms_update_account_redirect', array( $this, 'maybe_alter_update_account_redirect' ) );
// Groups Add-on integration.
add_filter( 'llms_groups_enqueue_dashboard_style', array( $this, 'return_true_on_bp_my_profile' ) );
add_filter( 'llms_groups_maybe_hide_dashboard_tab', array( $this, 'return_true_on_bp_my_profile' ) );
}
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.12.0 | Introduced. |