wp-admin/includes/misc.php:
WP_Privacy_Policy_Content::policy_text_changed_notice()
|
Output a warning when some privacy info has changed.
|
wp-admin/includes/misc.php:
_wp_privacy_settings_filter_draft_page_titles()
|
Appends ‘(Draft)’ to draft page titles in the privacy page dropdown so that unpublished content is obvious.
|
wp-admin/includes/user.php:
_wp_privacy_requests_screen_options()
|
Add options for the privacy requests screens.
|
wp-includes/widgets/class-wp-widget-custom-html.php:
WP_Widget_Custom_HTML::add_help_text()
|
Add help text to widgets admin screen.
|
wp-admin/includes/ajax-actions.php:
wp_ajax_search_install_plugins()
|
Ajax handler for searching plugins to install.
|
wp-admin/includes/ajax-actions.php:
wp_ajax_search_plugins()
|
Ajax handler for searching plugins.
|
wp-admin/includes/class-wp-screen.php:
WP_Screen::render_view_mode()
|
Render the list table view mode preferences.
|
wp-admin/includes/class-wp-screen.php:
WP_Screen::get()
|
Fetches a screen object.
|
wp-admin/includes/screen.php:
add_screen_option()
|
Register and configure an admin screen option
|
wp-admin/includes/deprecated.php:
screen_layout()
|
Returns the screen layout options.
|
wp-admin/includes/deprecated.php:
screen_options()
|
Returns the screen’s per-page options.
|
wp-admin/includes/deprecated.php:
screen_meta()
|
Renders the screen’s help.
|
wp-admin/includes/dashboard.php:
wp_add_dashboard_widget()
|
Adds a new dashboard widget.
|
wp-admin/includes/dashboard.php:
wp_dashboard()
|
Displays the dashboard.
|
wp-admin/includes/dashboard.php:
wp_dashboard_setup()
|
Registers dashboard widgets.
|
wp-admin/includes/list-table.php:
_get_list_table()
|
Fetches an instance of a WP_List_Table class.
|
wp-admin/includes/template.php:
iframe_header()
|
Generic Iframe header for use with Thickbox
|
wp-admin/includes/template.php:
add_meta_box()
|
Adds a meta box to one or more screens.
|
wp-admin/includes/template.php:
do_meta_boxes()
|
Meta-Box template function.
|
wp-admin/includes/template.php:
remove_meta_box()
|
Removes a meta box from one or more screens.
|
wp-admin/includes/template.php:
do_accordion_sections()
|
Meta Box Accordion Template Function.
|
wp-admin/includes/meta-boxes.php:
post_comment_meta_box()
|
Display comments for post.
|
wp-admin/includes/meta-boxes.php:
page_attributes_meta_box()
|
Display page attributes form fields.
|
wp-admin/custom-header.php:
Custom_Image_Header::help()
|
Adds contextual help.
|
wp-admin/custom-background.php:
Custom_Background::admin_load()
|
Set up the enqueue for the CSS & JavaScript files.
|
wp-includes/functions.php:
wp_auth_check_load()
|
Load the auth check for monitoring whether the user is still logged in.
|
wp-includes/admin-bar.php:
wp_admin_bar_edit_menu()
|
Provide an edit link for posts and terms.
|
Expand full source codeCollapse full source code
Another Example:
Expand full source codeCollapse full source code
This function is useful to figure out which screen you’re on in the Dashboard,
Another useful attribute of the WP_Screen object returned by this function is the
$screen->base
attribute which is set to'post'
for any custom post edit screen, and is set to'edit'
for the custom post admin table page, which is very handy when loading custom css/scripts for additional function on those pages.Default Usage
This example shows how you would add contextual help to an admin page you’ve created with the
add_options_page()
function. Here, we assume that your admin page has a slug ofmy_admin_page
and exists under the Options tab.The
get_current_screen()
function is used in this example.Expand full source codeCollapse full source code