WPDev.one
Core Function
View Source on Trac ↗

convert_to_screen()

convert_to_screen( mixed $hook_name )

Converts a screen string to a screen object.

Parameters 1 required

Name / Type Description
$hook_name
string

The hook name (also known as the hook suffix) used to determine the screen.

Required

Return Value

(WP_Screen)
Screen object.

Function Information

Since Version
3.0.0
Source File
wp-admin/includes/template.php
Advertisement