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
.
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; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.8.0 | Introduced. |