Get the current screen object

Signature

get_current_screen()

Return

(WP_Screen) Current screen object

Source

function get_current_screen() {
	global $current_screen;

	if ( ! isset( $current_screen ) )
		return null;

	return $current_screen;
}
WP Trac GitHub

Link here