Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




get_current_screen [ WordPress Function ]

get_current_screen ( No parameters )
Returns:
  • (WP_Screen) Current screen object
Defined at:



Get the current screen object

Source


<?php
function get_current_screen() {
    global 
$current_screen;

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

    return 
$current_screen;
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics