A class representing the admin screen.
Located in /wp-admin/includes/screen.php (line 218)
Any action associated with the screen. 'add' for *-add.php and *-new.php screens. Empty otherwise.
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'.
The unique ID of the screen.
Which admin the screen is in. network | user | site | false
Whether the screen is in the network admin.
Deprecated. Use in_admin() instead.
Whether the screen is in the user admin.
Deprecated. Use in_admin() instead.
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'.
The parent_file for the screen per the admin menu system.
Some $parent_file values are 'edit.php?post_type=page', 'edit.php', and 'options-general.php'.
The post type associated with the screen, if any.
The 'edit.php?post_type=page' screen has a post type of 'page'. The 'edit-tags.php?taxonomy=$taxonomy&post_type=page' screen has a post type of 'page'.
The taxonomy associated with the screen, if any.
The 'edit-tags.php?taxonomy=category' screen has a taxonomy of 'category'.
Sets the old string-based contextual help for the screen.
For backwards compatibility.
Fetches a screen object.
Add a help tab to the contextual help for the screen.
Call this on the load-$pagenow hook for the relevant screen.
Adds an option for the screen.
Call this in template files after admin.php is loaded and before admin-header.php is loaded to add screen options.
Gets the number of layout columns the user has selected.
The layout_columns option controls the max number and default number of columns. This method returns the number of columns within that range selected by the user via Screen Options. If no selection has been made, the default provisioned in layout_columns is returned. If the screen does not support selecting the number of layout columns, 0 is returned.
Gets the content from a contextual help sidebar.
Gets the arguments for a help tab.
Gets the help tabs registered for the screen.
Gets the arguments for an option for the screen.
Indicates whether the screen is in a particular admin
Removes a help tab from the contextual help for the screen.
Removes all help tabs from the contextual help for the screen.
Render the items per page option
Render the option for number of columns on the page
Render the screen's help section.
This will trigger the deprecated filters for backwards compatibility.
Render the screen options tab.
Makes the screen object the current screen.
Add a sidebar to the contextual help for the screen.
Call this in template files after admin.php is loaded and before admin-header.php is loaded to add a sidebar to the contextual help.
Set the parent information for the screen.
This is called in admin-header.php after the menu parent for the screen has been determined.
Documentation generated on Thu, 23 May 2013 23:19:00 +0000 by phpDocumentor 1.4.1