Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.


Retrieves the current section from the query string.

Return Return


Top ↑

Source Source

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

	private function get_current_section() {

		$section = 'all';

		if ( isset( $_GET['page'] ) && 'llms-settings' === $_GET['page'] ) {
			$section = 'featured';
		} elseif ( isset( $_GET['section'] ) ) {
			$section = llms_filter_input_sanitize_string( INPUT_GET, 'section' );

		return apply_filters( 'llms_admin_add_ons_get_current_section', $section );


Top ↑

Changelog Changelog

Version Description
5.9.0 Stop using deprecated FILTER_SANITIZE_STRING.
3.22.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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