Title: wp-includes/deprecated.php | Page 3 of 9 | Developer.WordPress.org

---

# File: wp-includes/deprecated.php

 * hook[updated_usermeta](https://developer.wordpress.org/reference/hooks/updated_usermeta/)
 * Used by [0 functions](https://developer.wordpress.org/reference/hooks/updated_usermeta/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/updated_usermeta/#uses)
   | Source: [wp-includes/deprecated.php:2410](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L2410-L2410)
 * hook[deleted_usermeta](https://developer.wordpress.org/reference/hooks/deleted_usermeta/)
 * Used by [0 functions](https://developer.wordpress.org/reference/hooks/deleted_usermeta/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/deleted_usermeta/#uses)
   | Source: [wp-includes/deprecated.php:2300](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L2300-L2300)
 * hook[update_usermeta](https://developer.wordpress.org/reference/hooks/update_usermeta/)
 * Used by [0 functions](https://developer.wordpress.org/reference/hooks/update_usermeta/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/update_usermeta/#uses)
   | Source: [wp-includes/deprecated.php:2395](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L2395-L2395)
 * hook[attachment_icon](https://developer.wordpress.org/reference/hooks/attachment_icon/)
 * Used by [0 functions](https://developer.wordpress.org/reference/hooks/attachment_icon/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/attachment_icon/#uses)
   | Source: [wp-includes/deprecated.php:2006](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L2006-L2006)
 * function[add_option_whitelist()](https://developer.wordpress.org/reference/functions/add_option_whitelist/)
 * Adds an array of options to the list of allowed options.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/add_option_whitelist/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/add_option_whitelist/#uses)
   | Source: [wp-includes/deprecated.php:4089](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L4089-L4093)
 * function[remove_option_whitelist()](https://developer.wordpress.org/reference/functions/remove_option_whitelist/)
 * Removes a list of options from the allowed options list.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/remove_option_whitelist/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/remove_option_whitelist/#uses)
   | Source: [wp-includes/deprecated.php:4106](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L4106-L4110)
 * function[current_user_can_for_blog()](https://developer.wordpress.org/reference/functions/current_user_can_for_blog/)
 * Returns whether the current user has the specified capability for a given site.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/current_user_can_for_blog/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/current_user_can_for_blog/#uses)
   | Source: [wp-includes/deprecated.php:6419](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L6419-L6421)
 * function[_usort_terms_by_name()](https://developer.wordpress.org/reference/functions/_usort_terms_by_name/)
 * Sort categories by name.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/_usort_terms_by_name/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/_usort_terms_by_name/#uses)
   | Source: [wp-includes/deprecated.php:3893](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L3893-L3897)
 * function[_usort_terms_by_ID()](https://developer.wordpress.org/reference/functions/_usort_terms_by_id/)
 * Sort categories by ID.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/_usort_terms_by_id/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/_usort_terms_by_id/#uses)
   | Source: [wp-includes/deprecated.php:3868](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L3868-L3877)
 * function[preview_theme()](https://developer.wordpress.org/reference/functions/preview_theme/)
 * Start preview theme output buffer.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/preview_theme/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/preview_theme/#uses)
   | Source: [wp-includes/deprecated.php:3509](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L3509-L3511)
 * function[_preview_theme_template_filter()](https://developer.wordpress.org/reference/functions/_preview_theme_template_filter/)
 * Private function to modify the current template when previewing a theme
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/_preview_theme_template_filter/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/_preview_theme_template_filter/#uses)
   | Source: [wp-includes/deprecated.php:3522](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L3522-L3525)
 * function[_preview_theme_stylesheet_filter()](https://developer.wordpress.org/reference/functions/_preview_theme_stylesheet_filter/)
 * Private function to modify the current stylesheet when previewing a theme
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/_preview_theme_stylesheet_filter/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/_preview_theme_stylesheet_filter/#uses)
   | Source: [wp-includes/deprecated.php:3536](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L3536-L3539)
 * function[preview_theme_ob_filter()](https://developer.wordpress.org/reference/functions/preview_theme_ob_filter/)
 * Callback function for ob_start() to capture all links in the theme.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/preview_theme_ob_filter/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/preview_theme_ob_filter/#uses)
   | Source: [wp-includes/deprecated.php:3551](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L3551-L3554)
 * function[preview_theme_ob_filter_callback()](https://developer.wordpress.org/reference/functions/preview_theme_ob_filter_callback/)
 * Manipulates preview theme links in order to control and maintain location.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/preview_theme_ob_filter_callback/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/preview_theme_ob_filter_callback/#uses)
   | Source: [wp-includes/deprecated.php:3568](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L3568-L3571)
 * function[like_escape()](https://developer.wordpress.org/reference/functions/like_escape/)
 * Formerly used to escape strings before searching the DB. It was poorly documented
   and never worked as described.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/like_escape/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/like_escape/#uses)
   | Source: [wp-includes/deprecated.php:3468](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L3468-L3471)
 * function[wp_htmledit_pre()](https://developer.wordpress.org/reference/functions/wp_htmledit_pre/)
 * Formats text for the HTML editor.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/wp_htmledit_pre/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/wp_htmledit_pre/#uses)
   | Source: [wp-includes/deprecated.php:3629](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L3629-L3644)
 * hook[htmledit_pre](https://developer.wordpress.org/reference/hooks/htmledit_pre/)
 * Filters the text before it is formatted for the HTML editor.
 * Used by [2 functions](https://developer.wordpress.org/reference/hooks/htmledit_pre/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/htmledit_pre/#uses)
   | Source: [wp-includes/deprecated.php:3643](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L3643-L3643)
 * hook[richedit_pre](https://developer.wordpress.org/reference/hooks/richedit_pre/)
 * Filters text returned for the rich text editor.
 * Used by [2 functions](https://developer.wordpress.org/reference/hooks/richedit_pre/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/richedit_pre/#uses)
   | Source: [wp-includes/deprecated.php:3605](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L3605-L3605)
 * function[popuplinks()](https://developer.wordpress.org/reference/functions/popuplinks/)
 * Adds element attributes to open links in new tabs.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/popuplinks/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/popuplinks/#uses)
   | Source: [wp-includes/deprecated.php:3791](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L3791-L3795)
 * function[wp_richedit_pre()](https://developer.wordpress.org/reference/functions/wp_richedit_pre/)
 * Formats text for the rich text editor.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/wp_richedit_pre/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/functions/wp_richedit_pre/#uses)
   | Source: [wp-includes/deprecated.php:3586](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L3586-L3614)
 * function[addslashes_gpc()](https://developer.wordpress.org/reference/functions/addslashes_gpc/)
 * Adds slashes to a string or recursively adds slashes to strings within an array.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/addslashes_gpc/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/addslashes_gpc/#uses)
   | Source: [wp-includes/deprecated.php:6503](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L6503-L6506)
 * function[wlwmanifest_link()](https://developer.wordpress.org/reference/functions/wlwmanifest_link/)
 * Displays the link to the Windows Live Writer manifest file.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/wlwmanifest_link/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/wlwmanifest_link/#uses)
   | Source: [wp-includes/deprecated.php:4651](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L4651-L4653)
 * function[noindex()](https://developer.wordpress.org/reference/functions/noindex/)
 * Displays a `noindex` meta tag if required by the blog configuration.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/noindex/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/noindex/#uses)
   | Source: [wp-includes/deprecated.php:4160](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L4160-L4167)
 * function[wp_no_robots()](https://developer.wordpress.org/reference/functions/wp_no_robots/)
 * Display a `noindex` meta tag.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/wp_no_robots/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/wp_no_robots/#uses)
   | Source: [wp-includes/deprecated.php:4182](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L4182-L4191)
 * function[rich_edit_exists()](https://developer.wordpress.org/reference/functions/rich_edit_exists/)
 * Determine if TinyMCE is available.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/rich_edit_exists/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/rich_edit_exists/#uses)
   | Source: [wp-includes/deprecated.php:3418](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L3418-L3426)
 * function[default_topic_count_text()](https://developer.wordpress.org/reference/functions/default_topic_count_text/)
 * Old callback for tag link tooltips.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/default_topic_count_text/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/functions/default_topic_count_text/#uses)
   | Source: [wp-includes/deprecated.php:3438](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L3438-L3440)
 * function[format_to_post()](https://developer.wordpress.org/reference/functions/format_to_post/)
 * Formerly used to escape strings before inserting into the DB.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/format_to_post/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/format_to_post/#uses)
   | Source: [wp-includes/deprecated.php:3453](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L3453-L3456)
 * function[gd_edit_image_support()](https://developer.wordpress.org/reference/functions/gd_edit_image_support/)
 * Check if the installed version of GD supports particular image type
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/gd_edit_image_support/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/gd_edit_image_support/#uses)
   | Source: [wp-includes/deprecated.php:3331](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L3331-L3362)
 * function[wp_convert_bytes_to_hr()](https://developer.wordpress.org/reference/functions/wp_convert_bytes_to_hr/)
 * Converts an integer byte value to a shorthand byte value.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/wp_convert_bytes_to_hr/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/wp_convert_bytes_to_hr/#uses)
   | Source: [wp-includes/deprecated.php:3374](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L3374-L3390)
 * function[_search_terms_tidy()](https://developer.wordpress.org/reference/functions/_search_terms_tidy/)
 * Formerly used internally to tidy up the search terms.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/_search_terms_tidy/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/_search_terms_tidy/#uses)
   | Source: [wp-includes/deprecated.php:3402](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L3402-L3405)

 [Previous Page](https://developer.wordpress.org/reference/files/wp-includes/deprecated.php/page/2/?output_format=md)

[1](https://developer.wordpress.org/reference/files/wp-includes/deprecated.php/?output_format=md)
[2](https://developer.wordpress.org/reference/files/wp-includes/deprecated.php/page/2/?output_format=md)
3 [4](https://developer.wordpress.org/reference/files/wp-includes/deprecated.php/page/4/?output_format=md)
[5](https://developer.wordpress.org/reference/files/wp-includes/deprecated.php/page/5/?output_format=md)…
[9](https://developer.wordpress.org/reference/files/wp-includes/deprecated.php/page/9/?output_format=md)

 [Next Page](https://developer.wordpress.org/reference/files/wp-includes/deprecated.php/page/4/?output_format=md)