Un motore di ricerca WordPress per sviluppatori e autori di temi



set_current_screen ›

Da3.0.0
Deprecaton/a
set_current_screen ( $hook_name = '' )
Parametri:
  • (mixed) $hook_name Optional. The hook name (also known as the hook suffix) used to determine the screen, or an existing screen object.
    Richiesto: No
    Default: (vuoto)
Definito a:
Codex:

Set the current screen object



Sorgenti

function set_current_screen( $hook_name = '' ) {
	WP_Screen::get( $hook_name )->set_current_screen();
}