wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



set_current_screen › WordPress Function

Od3.0.0
Przestarzałyn/a
set_current_screen ( $hook_name = '' )
Parametry:
  • (string|WP_Screen) $hook_name Optional. The hook name (also known as the hook suffix) used to determine the screen, or an existing screen object.
    Wymagane: Nie
    Domyślny: (puste)
Zdefiniowane na:
Codex:

Set the current screen object



Źródło

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