Switch language

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




set_current_screen [ WordPress Function ]

set_current_screen ( $hook_name = '' )
Parameters:
  • (mixed) $hook_name Optional. The hook name (also known as the hook suffix) used to determine the screen, or an existing screen object.
Uses:
  • $current_screen
Defined at:



Set the current screen object

Source


<?php
function set_current_screen$hook_name '' ) {
    
WP_Screen::get$hook_name )->set_current_screen();
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



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