LLMS_Settings_Page::get_current_section()
Retrieve current section from URL var
Return Return
(string)
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';
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.35.0 | Unslash input data. |
| 3.17.5 | Introduced. |