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 ]

Google Arama Sonuçlarý

Dahasý ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



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