LLMS_Settings_Integrations::get_sections()

Get the page sections


Return Return

(array)


Top ↑

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 );

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.18.2 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.