get_current_screen()
get_current_screen()
获取当前屏幕对象
Get the current screen object
返回(Return)
(WP_Screen|null)当前屏幕对象或未定义屏幕时为空。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.1.0 | wp-admin/includes/screen.php:221 | 29 | 0 |
get_current_screen() 为WP2原创文章,链接:https://www.wp2.cn/functions/get_current_screen/