Core class used to implement an admin screen API.
Methods
Name | Description |
---|---|
WP_Screen::__construct | Constructor |
WP_Screen::add_help_tab | Adds a help tab to the contextual help for the screen. |
WP_Screen::add_old_compat_help | Sets the old string-based contextual help for the screen for backward compatibility. |
WP_Screen::add_option | Adds an option for the screen. |
WP_Screen::get | Fetches a screen object. |
WP_Screen::get_columns | Gets the number of layout columns the user has selected. |
WP_Screen::get_help_sidebar | Gets the content from a contextual help sidebar. |
WP_Screen::get_help_tab | Gets the arguments for a help tab. |
WP_Screen::get_help_tabs | Gets the help tabs registered for the screen. |
WP_Screen::get_option | Gets the arguments for an option for the screen. |
WP_Screen::get_options | Gets the options registered for the screen. |
WP_Screen::get_screen_reader_content | Gets the accessible hidden headings and text used in the screen. |
WP_Screen::get_screen_reader_text | Gets a screen reader text string. |
WP_Screen::in_admin | Indicates whether the screen is in a particular admin. |
WP_Screen::is_block_editor | Sets or returns whether the block editor is loading on the current screen. |
WP_Screen::remove_help_tab | Removes a help tab from the contextual help for the screen. |
WP_Screen::remove_help_tabs | Removes all help tabs from the contextual help for the screen. |
WP_Screen::remove_option | Removes an option from the screen. |
WP_Screen::remove_options | Removes all options from the screen. |
WP_Screen::remove_screen_reader_content | Removes all the accessible hidden headings and text for the screen. |
WP_Screen::render_list_table_columns_preferences | Renders the list table columns preferences. |
WP_Screen::render_meta_boxes_preferences | Renders the meta boxes preferences. |
WP_Screen::render_per_page_options | Renders the items per page option. |