LLMS_Settings_Integrations::get_sections()
Get the page sections
Return Return
(array)
Source Source
File: includes/admin/settings/class.llms.settings.integrations.php
public function get_sections() { $sections = array(); $integrations = llms()->integrations()->get_integrations(); foreach ( $integrations as $int ) { $sections[ $int->id ] = trim( str_replace( 'LifterLMS', '', $int->title ) ); } $sections = array_merge( array( 'main' => __( 'Integrations', 'lifterlms' ), ), $sections ); return apply_filters( 'llms_integration_settings_sections', $sections ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.18.2 | Introduced. |