LLMS_Integration_Buddypress::get_integration_settings()
Retrieve integration settings.
Return Return
(array)
Source Source
File: includes/integrations/class.llms.integration.buddypress.php
public function get_integration_settings() {
$settings = array();
if ( $this->is_available() ) {
$display_eps = $this->get_profile_endpoints_options();
$settings[] = array(
'class' => 'llms-select2',
'desc' => '<br>' . __( 'The following LifterLMS Student Dashboard areas will be added to the BuddyPress user profiles', 'lifterlms' ),
'default' => array_keys( $display_eps ),
'id' => $this->get_option_name( 'profile_endpoints' ),
'options' => $display_eps,
'type' => 'multiselect',
'title' => __( 'User Profile Endpoints', 'lifterlms' ),
);
}
return $settings;
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 6.3.0 | Introduced. |