wpseek.com
A WordPress-centric search engine for devs and theme authors
wp-admin/includes/deprecated.php › WordPress File
Functions70
› Deprecated admin functions from past WordPress versions. You shouldn't use these
functions and look for the alternatives instead. The functions will be removed
in a later version.
Function | Short description |
---|---|
add_contextual_help | Add contextual help text for a page. |
add_object_page | Add a top-level menu page in the 'objects' section. |
add_option_update_handler | Register a setting and its sanitization callback |
add_utility_page | Add a top-level menu page in the 'utility' section. |
codepress_footer_js | Adds JavaScript required to make CodePress work on the theme/plugin file editors. |
codepress_get_lang | Determines the language to use for CodePress syntax highlighting. |
current_theme_info | Retrieves information on the current active theme. |
documentation_link | Unused Admin function. |
dropdown_categories | Legacy function used to generate the categories checklist control. |
dropdown_link_categories | Legacy function used to generate a link categories checklist control. |
favorite_actions | Favorite actions were deprecated in version 3.2. Use the admin bar instead. |
get_allowed_themes | Get the allowed themes for the current site. |
get_author_user_ids | Get all user IDs. |
get_broken_themes | Retrieves a list of broken themes. |
get_default_page_to_edit | Gets the default page information to use. |
get_editable_authors | Gets author users who can edit posts. |
get_editable_user_ids | Gets the IDs of any users who can edit posts. |
get_nonauthor_user_ids | Gets all users who are not authors. |
get_others_drafts | Retrieve drafts from other users. |
get_others_pending | Retrieve pending review posts from other users. |
get_others_unpublished_posts | Retrieves editable posts from other users. |
get_post_to_edit | Gets an existing post and format it for editing. |
get_real_file_to_edit | Get the real filesystem path to a file to edit within the admin. |
get_screen_icon | Retrieves the screen icon (no longer used in 3.8+). |
get_udims | Calculated the new dimensions for a downsampled image. |
image_attachment_fields_to_save | Was used to filter input from media_upload_form_handler() and to assign a default post_title from the file name if none supplied. |
media_upload_audio | Handles uploading an audio file. |
media_upload_file | Handles uploading a generic file. |
media_upload_image | Handles uploading an image. |
media_upload_video | Handles uploading a video file. |
options_permalink_add_js | Display JavaScript on the page. |
post_form_autocomplete_off | Disables autocomplete on the 'post' form (Add/Edit Post screens) for WebKit browsers, as they disregard the autocomplete setting on the editor textarea. That can break the editor when the user navigates to it with the browser's Back button. See #28037 |
remove_option_update_handler | Unregister a setting |
screen_icon | Displays a screen icon. |
screen_layout | Returns the screen layout options. |
screen_meta | Renders the screen's help. |
screen_options | Returns the screen's per-page options. |
the_attachment_links | This was once used to display attachment links. Now it is deprecated and stubbed. |
tinymce_include | - |
type_url_form_audio | Handles retrieving the insert-from-URL form for an audio file. |
type_url_form_file | Handles retrieving the insert-from-URL form for a generic file. |
type_url_form_image | Handles retrieving the insert-from-URL form for an image. |
type_url_form_video | Handles retrieving the insert-from-URL form for a video file. |
use_codepress | Determine whether to use CodePress. |
wp_create_thumbnail | This was once used to create a thumbnail from an Image given a maximum side size. |
wp_dashboard_incoming_links | Deprecated dashboard widget controls. |
wp_dashboard_incoming_links_control | Deprecated dashboard incoming links control. |
wp_dashboard_incoming_links_output | Deprecated dashboard widget controls. |
wp_dashboard_plugins | Deprecated dashboard plugins control. |
wp_dashboard_plugins_output | Display plugins text for the WordPress news widget. |
wp_dashboard_primary_control | Deprecated dashboard primary control. |
wp_dashboard_quick_press_output | Output the QuickPress dashboard widget. |
wp_dashboard_recent_comments_control | Deprecated dashboard recent comments control. |
wp_dashboard_secondary | Deprecated dashboard secondary section. |
wp_dashboard_secondary_control | Deprecated dashboard secondary control. |
wp_dashboard_secondary_output | Deprecated dashboard secondary output. |
wp_dropdown_cats | Legacy function used for generating a categories drop-down control. |
wp_nav_menu_locations_meta_box | This was once used to display a meta box for the nav menu theme locations. |
wp_preload_dialogs | Preloads TinyMCE dialogs. |
wp_print_editor_js | Prints TinyMCE editor JS. |
wp_quicktags | Handles quicktags. |
wp_shrink_dimensions | Calculates the new dimensions for a downsampled image. |
wp_tiny_mce | Outputs the TinyMCE editor. |
wp_update_core | This was once used to kick-off the Core Updater. |
wp_update_plugin | This was once used to kick-off the Plugin Updater. |
wp_update_theme | This was once used to kick-off the Theme Updater. |
_insert_into_post_button | This was once used to display an 'Insert into Post' button. |
_media_button | This was once used to display a media button. |
_relocate_children | This was once used to move child posts to a new parent. |
_wp_privacy_requests_screen_options | Was used to add options for the privacy requests screens before they were separate files. |