Title: 4.5.0 | Developer.WordPress.org

---

# New and updated in 4.5.0

Functions

Hooks

Classes

Methods

 * function[rest_get_server()](https://developer.wordpress.org/reference/functions/rest_get_server/)
 * Retrieves the current REST server instance.
 * Used by [7 functions](https://developer.wordpress.org/reference/functions/rest_get_server/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/rest_get_server/#uses)
   | Source: [wp-includes/rest-api.php:629](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api.php#L629-L661)
 * function[the_embed_site_title()](https://developer.wordpress.org/reference/functions/the_embed_site_title/)
 * Prints the necessary markup for the site title in an embed template.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/the_embed_site_title/#used-by)
   | Uses [7 functions](https://developer.wordpress.org/reference/functions/the_embed_site_title/#uses)
   | Source: [wp-includes/embed.php:1236](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/embed.php#L1236-L1268)
 * function[wp_metadata_lazyloader()](https://developer.wordpress.org/reference/functions/wp_metadata_lazyloader/)
 * Retrieves the queue for lazy-loading metadata.
 * Used by [3 functions](https://developer.wordpress.org/reference/functions/wp_metadata_lazyloader/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/wp_metadata_lazyloader/#uses)
   | Source: [wp-includes/meta.php:1244](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/meta.php#L1244-L1252)
 * function[_custom_logo_header_styles()](https://developer.wordpress.org/reference/functions/_custom_logo_header_styles/)
 * Adds CSS to hide header text for custom logo, based on Customizer setting.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/_custom_logo_header_styles/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/_custom_logo_header_styles/#uses)
   | Source: [wp-includes/theme.php:2993](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/theme.php#L2993-L3011)
 * function[get_embed_template()](https://developer.wordpress.org/reference/functions/get_embed_template/)
 * Retrieves an embed template path in the current or parent template.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_embed_template/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/get_embed_template/#uses)
   | Source: [wp-includes/template.php:602](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/template.php#L602-L618)
 * function[unregister_taxonomy()](https://developer.wordpress.org/reference/functions/unregister_taxonomy/)
 * Unregisters a taxonomy.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/unregister_taxonomy/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/functions/unregister_taxonomy/#uses)
   | Source: [wp-includes/taxonomy.php:605](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/taxonomy.php#L605-L635)
 * function[the_custom_logo()](https://developer.wordpress.org/reference/functions/the_custom_logo/)
 * Displays a custom logo, linked to home unless the theme supports removing the
   link on the home page.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/the_custom_logo/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/the_custom_logo/#uses)
   | Source: [wp-includes/general-template.php:1371](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/general-template.php#L1371-L1373)
 * function[has_custom_logo()](https://developer.wordpress.org/reference/functions/has_custom_logo/)
 * Determines whether the site has a custom logo.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/has_custom_logo/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/has_custom_logo/#uses)
   | Source: [wp-includes/general-template.php:1238](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/general-template.php#L1238-L1254)
 * function[get_custom_logo()](https://developer.wordpress.org/reference/functions/get_custom_logo/)
 * Returns a custom logo, linked to home unless the theme supports removing the 
   link on the home page.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/get_custom_logo/#used-by)
   | Uses [19 functions](https://developer.wordpress.org/reference/functions/get_custom_logo/#uses)
   | Source: [wp-includes/general-template.php:1267](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/general-template.php#L1267-L1362)
 * function[_wp_get_current_user()](https://developer.wordpress.org/reference/functions/_wp_get_current_user/)
 * Retrieves the current user object.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/_wp_get_current_user/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/_wp_get_current_user/#uses)
   | Source: [wp-includes/user.php:3805](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/user.php#L3805-L3854)
 * function[wp_authenticate_email_password()](https://developer.wordpress.org/reference/functions/wp_authenticate_email_password/)
 * Authenticates a user using the email and password.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/wp_authenticate_email_password/#used-by)
   | Uses [11 functions](https://developer.wordpress.org/reference/functions/wp_authenticate_email_password/#uses)
   | Source: [wp-includes/user.php:242](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/user.php#L242-L312)
 * function[wp_add_inline_script()](https://developer.wordpress.org/reference/functions/wp_add_inline_script/)
 * Adds extra code to a registered script.
 * Used by [25 functions](https://developer.wordpress.org/reference/functions/wp_add_inline_script/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/functions/wp_add_inline_script/#uses)
   | Source: [wp-includes/functions.wp-scripts.php:210](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.wp-scripts.php#L210-L228)
 * function[_wp_upload_dir()](https://developer.wordpress.org/reference/functions/_wp_upload_dir/)
 * A non-filtered, non-cached version of wp_upload_dir() that doesn’t check the 
   path.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/_wp_upload_dir/#used-by)
   | Uses [11 functions](https://developer.wordpress.org/reference/functions/_wp_upload_dir/#uses)
   | Source: [wp-includes/functions.php:2467](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L2467-L2569)
 * function[wp_get_upload_dir()](https://developer.wordpress.org/reference/functions/wp_get_upload_dir/)
 * Retrieves uploads directory information.
 * Used by [11 functions](https://developer.wordpress.org/reference/functions/wp_get_upload_dir/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/wp_get_upload_dir/#uses)
   | Source: [wp-includes/functions.php:2355](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L2355-L2357)
 * function[wp_get_raw_referer()](https://developer.wordpress.org/reference/functions/wp_get_raw_referer/)
 * Retrieves unvalidated referer from the ‘_wp_http_referer’ URL query variable 
   or the HTTP referer.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/wp_get_raw_referer/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/wp_get_raw_referer/#uses)
   | Source: [wp-includes/functions.php:2010](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L2010-L2018)
 * function[_wp_post_revision_data()](https://developer.wordpress.org/reference/functions/_wp_post_revision_data/)
 * Returns a post array ready to be inserted into the posts table as a post revision.
 * Used by [3 functions](https://developer.wordpress.org/reference/functions/_wp_post_revision_data/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/_wp_post_revision_data/#uses)
   | Source: [wp-includes/revision.php:75](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/revision.php#L75-L96)
 * function[wp_get_comment_fields_max_lengths()](https://developer.wordpress.org/reference/functions/wp_get_comment_fields_max_lengths/)
 * Retrieves the maximum character lengths for the comment form fields.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/wp_get_comment_fields_max_lengths/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/wp_get_comment_fields_max_lengths/#uses)
   | Source: [wp-includes/comment.php:1264](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/comment.php#L1264-L1308)
 * function[wp_queue_comments_for_comment_meta_lazyload()](https://developer.wordpress.org/reference/functions/wp_queue_comments_for_comment_meta_lazyload/)
 * Queues comments for metadata lazy-loading.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/wp_queue_comments_for_comment_meta_lazyload/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/wp_queue_comments_for_comment_meta_lazyload/#uses)
   | Source: [wp-includes/deprecated.php:4663](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/deprecated.php#L4663-L4676)
 * function[wp_queue_posts_for_term_meta_lazyload()](https://developer.wordpress.org/reference/functions/wp_queue_posts_for_term_meta_lazyload/)
 * Queues posts for lazy-loading of term meta.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/wp_queue_posts_for_term_meta_lazyload/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/wp_queue_posts_for_term_meta_lazyload/#uses)
   | Source: [wp-includes/post.php:8391](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/post.php#L8391-L8430)
 * function[wp_add_trashed_suffix_to_post_name_for_trashed_posts()](https://developer.wordpress.org/reference/functions/wp_add_trashed_suffix_to_post_name_for_trashed_posts/)
 * Adds a suffix if any trashed posts have a given slug.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/wp_add_trashed_suffix_to_post_name_for_trashed_posts/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/wp_add_trashed_suffix_to_post_name_for_trashed_posts/#uses)
   | Source: [wp-includes/post.php:8579](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/post.php#L8579-L8595)
 * function[wp_add_trashed_suffix_to_post_name_for_post()](https://developer.wordpress.org/reference/functions/wp_add_trashed_suffix_to_post_name_for_post/)
 * Adds a trashed suffix for a given post.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/wp_add_trashed_suffix_to_post_name_for_post/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/functions/wp_add_trashed_suffix_to_post_name_for_post/#uses)
   | Source: [wp-includes/post.php:8613](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/post.php#L8613-L8626)
 * function[get_post_types_by_support()](https://developer.wordpress.org/reference/functions/get_post_types_by_support/)
 * Retrieves a list of post type names that support a specific feature.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_post_types_by_support/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/get_post_types_by_support/#uses)
   | Source: [wp-includes/post.php:2400](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/post.php#L2400-L2406)
 * function[unregister_post_type()](https://developer.wordpress.org/reference/functions/unregister_post_type/)
 * Unregisters a post type.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/unregister_post_type/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/functions/unregister_post_type/#uses)
   | Source: [wp-includes/post.php:1925](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/post.php#L1925-L1957)
 * function[remove_rewrite_tag()](https://developer.wordpress.org/reference/functions/remove_rewrite_tag/)
 * Removes an existing rewrite tag (like %postname%).
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/remove_rewrite_tag/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/remove_rewrite_tag/#uses)
   | Source: [wp-includes/rewrite.php:188](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rewrite.php#L188-L191)
 * function[remove_permastruct()](https://developer.wordpress.org/reference/functions/remove_permastruct/)
 * Removes a permalink structure.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/remove_permastruct/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/remove_permastruct/#uses)
   | Source: [wp-includes/rewrite.php:234](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rewrite.php#L234-L238)
 * function[is_post_type_viewable()](https://developer.wordpress.org/reference/functions/is_post_type_viewable/)
 * Determines whether a post type is considered “viewable”.
 * Used by [14 functions](https://developer.wordpress.org/reference/functions/is_post_type_viewable/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/is_post_type_viewable/#uses)
   | Source: [wp-includes/post.php:2447](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/post.php#L2447-L2477)
 * function[_deprecated_constructor()](https://developer.wordpress.org/reference/functions/_deprecated_constructor/)
 * Marks a constructor as deprecated and informs when it has been used.
 * Used by [9 functions](https://developer.wordpress.org/reference/functions/_deprecated_constructor/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/_deprecated_constructor/#uses)
   | Source: [wp-includes/functions.php:5722](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L5722-L5786)
 * function[add_theme_support()](https://developer.wordpress.org/reference/functions/add_theme_support/)
 * Registers theme support for a given feature.
 * Used by [12 functions](https://developer.wordpress.org/reference/functions/add_theme_support/#used-by)
   | Uses [7 functions](https://developer.wordpress.org/reference/functions/add_theme_support/#uses)
   | Source: [wp-includes/theme.php:2694](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/theme.php#L2694-L2944)
 * function[_delete_attachment_theme_mod()](https://developer.wordpress.org/reference/functions/_delete_attachment_theme_mod/)
 * Checks an attachment being deleted to see if it’s a header or background image.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/_delete_attachment_theme_mod/#used-by)
   | Uses [7 functions](https://developer.wordpress.org/reference/functions/_delete_attachment_theme_mod/#uses)
   | Source: [wp-includes/theme.php:3442](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/theme.php#L3442-L3466)
 * function[wp_authenticate()](https://developer.wordpress.org/reference/functions/wp_authenticate/)
 * Authenticates a user, confirming the login credentials are valid.
 * Used by [4 functions](https://developer.wordpress.org/reference/functions/wp_authenticate/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/wp_authenticate/#uses)
   | Source: [wp-includes/pluggable.php:684](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/pluggable.php#L684-L735)

1 [2](https://developer.wordpress.org/reference/since/4.5.0/page/2/?post_type%5B0%5D=wp-parser-function&output_format=md)

 [Next Page](https://developer.wordpress.org/reference/since/4.5.0/page/2/?post_type%5B0%5D=wp-parser-function&output_format=md)