wp-admin/includes/class-wp-screen.php:15Core class used to implement an admin screen API.
Every hook that fires from inside WP_Screen, in the order it appears in the class, grouped by the method that fires it.
$actionstringpublic$basestringpublic$columnsintprivate$idstringpublic$in_adminstringprotected$is_networkboolpublic$is_userboolpublic$parent_basestring|nullpublic$parent_filestring|nullpublic$post_typestringpublic$taxonomystringpublic$_help_tabsarrayprivate$_help_sidebarstringprivate$_screen_reader_contentstring[]private$_old_compat_helparrayprivate static$_optionsarrayprivate$_registryarrayprivate static$_show_screen_options?boolprivate$_screen_settingsstringprivate$is_block_editorboolpublic#[AllowDynamicProperties]final class WP_Screen { /** * Any action associated with the screen. * * 'add' for *-add.php and *-new.php screens. Empty otherwise. * * @since 3.3.0 * @var string */ public $action; /** * The base type of the screen. * * This is typically the same as `$id` but with any post types and taxonomies stripped. * For example, for an `$id` of 'edit-post' the base is 'edit'. * * @since 3.3.0 * @var string */ public $base; /** * The number of columns to display. Access with get_columns(). * * @since 3.4.0 * @var int */ private $columns = 0; /** * The unique ID of the screen. * * @since 3.3.0 * @var string */ public $id; /** * Which admin the screen is in. network | user | site | false * * @since 3.5.0 * @var string */ protected $in_admin; /** * Whether the screen is in the network admin. * * Deprecated. Use in_admin() instead. * * @since 3.3.0 * @deprecated 3.5.0 * @var bool */ public $is_network; /** * Whether the screen is in the user admin. * * Deprecated. Use in_admin() instead. * * @since 3.3.0 * @deprecated 3.5.0 * @var bool */ public $is_user; /** * The base menu parent. * * This is derived from `$parent_file` by removing the query string and any .php extension. * `$parent_file` values of 'edit.php?post_type=page' and 'edit.php?post_type=post' * have a `$parent_base` of 'edit'. * * @since 3.3.0 * @var string|null */ public $parent_base;Introduced in 3.3.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-admin/includes/class-wp-screen.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.