[wp-hackers] set_current_screen() functionality
otto at ottodestruct.com
Sun Mar 9 09:12:21 UTC 2014
Basically, the set_current_screen function gets an instance of the
WP_Screen object and calls it to set the $current_screen global. It should
not be something you have to call yourself, it's called automatically for
all admin pages.
WP_Screen is explained a bit here:
On Sun, Mar 9, 2014 at 1:52 AM, Utkarsh Dixit <utkarsh.dixit11 at gmail.com>wrote:
> Can someone explain the functionality of set_current_screen() function?
> Not explained properly here.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers