LLMS_Admin_Resources::get_screen()

Retrieve an instance of the WP_Screen for the resources screen.


Return Return

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


Top ↑

Source Source

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

	public static function get_screen() {

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

		return false;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
7.4.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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