Uses
Uses | Description |
---|---|
wp-admin/includes/class-wp-screen.php: WP_Screen::get() | Fetches a screen object. |
Set the current screen object
(string|WP_Screen) (Optional) The hook name (also known as the hook suffix) used to determine the screen, or an existing screen object.
Default value: ''
File: wp-admin/includes/screen.php
function set_current_screen( $hook_name = '' ) { WP_Screen::get( $hook_name )->set_current_screen(); }
Version | Description |
---|---|
3.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/set_current_screen