A WordPress-centric search engine for devs and theme authors



current_screen ›

Since3.0.0
Deprecatedn/a
do_action( 'current_screen', $current_screen )
Parameters:
  • (WP_Screen) $current_screen Current WP_Screen object.
    Required: Yes
Defined at:
Codex:

Fires after the current screen has been set.





Source

do_action( 'current_screen', $current_screen );