LLMS_Settings_Page::get_current_section()

Retrieve current section from URL var


Return Return

(string)


Top ↑

Source Source

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

	protected function get_current_section() {
		return isset( $_GET['section'] ) ? sanitize_text_field( wp_unslash( $_GET['section'] ) ) : 'main';
	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.35.0 Unslash input data.
3.17.5 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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