LLMS_Admin_Import::get_screen()

Retrieve an instance of the WP_Screen for the import screen


Return Return

(WP_Screen|boolean) Returns a WP_Screen object when on the import screen, otherwise returns false.


Top ↑

Source Source

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

	protected function get_screen() {

		$screen = get_current_screen();
		if ( $screen instanceof WP_Screen && 'lifterlms_page_llms-import' === $screen->id ) {
			return $screen;
		}

		return false;

	}


Top ↑

Changelog Changelog

Changelog
Version Description
4.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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