LLMS_Admin_Settings::output()

Settings Page output tabs


Description Description


Return Return

(void)


Top ↑

Source Source

File: includes/admin/class.llms.admin.settings.php

	public static function output() {

		global $current_tab;

		do_action( 'lifterlms_settings_start' );

		self::get_settings_tabs();

		$current_tab = empty( $_GET['tab'] ) ? 'general' : sanitize_title( $_GET['tab'] );

		if ( ! empty( $_POST ) ) {
			self::save();
		}

		if ( ! empty( $_GET['llms_error'] ) ) {
			self::set_error( stripslashes( $_GET['llms_error'] ) );
		}

		if ( ! empty( $_GET['llms_message'] ) ) {
			self::set_message( stripslashes( $_GET['llms_message'] ) );
		}

		self::display_messages_html();

		$tabs = apply_filters( 'lifterlms_settings_tabs_array', array() );

		include 'views/settings.php';

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.29.0
1.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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