LLMS_Admin_Settings::output()
Settings Page output tabs
Description Description
Return Return
(void)
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'; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.29.0 | |
1.0.0 | Introduced. |