Title: Functions | Page 19 of 49 | Developer.WordPress.org

---

# Functions

 * function[get_comment_meta()](https://developer.wordpress.org/reference/functions/get_comment_meta/)
 * Retrieves comment meta field for a comment.
 * Used by [3 functions](https://developer.wordpress.org/reference/functions/get_comment_meta/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/get_comment_meta/#uses)
   | Source: [wp-includes/comment.php:520](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/comment.php#L520-L522)
 * function[get_comment_pages_count()](https://developer.wordpress.org/reference/functions/get_comment_pages_count/)
 * Calculates the total number of comment pages.
 * Used by [5 functions](https://developer.wordpress.org/reference/functions/get_comment_pages_count/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/get_comment_pages_count/#uses)
   | Source: [wp-includes/comment.php:981](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/comment.php#L981-L1022)
 * function[get_comment_reply_link()](https://developer.wordpress.org/reference/functions/get_comment_reply_link/)
 * Retrieves HTML content for reply to comment link.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/get_comment_reply_link/#used-by)
   | Uses [15 functions](https://developer.wordpress.org/reference/functions/get_comment_reply_link/#uses)
   | Source: [wp-includes/comment-template.php:1755](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/comment-template.php#L1755-L1873)
 * function[get_comment_statuses()](https://developer.wordpress.org/reference/functions/get_comment_statuses/)
 * Retrieves all of the WordPress supported comment statuses.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/get_comment_statuses/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/get_comment_statuses/#uses)
   | Source: [wp-includes/comment.php:283](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/comment.php#L283-L292)
 * function[get_comment_text()](https://developer.wordpress.org/reference/functions/get_comment_text/)
 * Retrieves the text of the current comment.
 * Used by [3 functions](https://developer.wordpress.org/reference/functions/get_comment_text/#used-by)
   | Uses [8 functions](https://developer.wordpress.org/reference/functions/get_comment_text/#uses)
   | Source: [wp-includes/comment-template.php:1029](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/comment-template.php#L1029-L1060)
 * function[get_comment_time()](https://developer.wordpress.org/reference/functions/get_comment_time/)
 * Retrieves the comment time of the current comment.
 * Used by [3 functions](https://developer.wordpress.org/reference/functions/get_comment_time/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/get_comment_time/#uses)
   | Source: [wp-includes/comment-template.php:1107](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/comment-template.php#L1107-L1132)
 * function[get_comment_to_edit()](https://developer.wordpress.org/reference/functions/get_comment_to_edit/)
 * Returns a WP_Comment object based on comment ID.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_comment_to_edit/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/get_comment_to_edit/#uses)
   | Source: [wp-admin/includes/comment.php:110](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-admin/includes/comment.php#L110-L135)
 * function[get_comment_type()](https://developer.wordpress.org/reference/functions/get_comment_type/)
 * Retrieves the comment type of the current comment.
 * Used by [4 functions](https://developer.wordpress.org/reference/functions/get_comment_type/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/get_comment_type/#uses)
   | Source: [wp-includes/comment-template.php:1158](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/comment-template.php#L1158-L1176)
 * function[get_compat_media_markup()](https://developer.wordpress.org/reference/functions/get_compat_media_markup/)
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/get_compat_media_markup/#used-by)
   | Uses [12 functions](https://developer.wordpress.org/reference/functions/get_compat_media_markup/#uses)
   | Source: [wp-admin/includes/media.php:1874](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-admin/includes/media.php#L1874-L2063)
 * function[get_core_checksums()](https://developer.wordpress.org/reference/functions/get_core_checksums/)
 * Gets and caches the checksums for the given version of WordPress.
 * Used by [3 functions](https://developer.wordpress.org/reference/functions/get_core_checksums/#used-by)
   | Uses [9 functions](https://developer.wordpress.org/reference/functions/get_core_checksums/#uses)
   | Source: [wp-admin/includes/update.php:131](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-admin/includes/update.php#L131-L173)
 * function[get_core_updates()](https://developer.wordpress.org/reference/functions/get_core_updates/)
 * Gets available core updates.
 * Used by [9 functions](https://developer.wordpress.org/reference/functions/get_core_updates/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/get_core_updates/#uses)
   | Source: [wp-admin/includes/update.php:39](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-admin/includes/update.php#L39-L82)
 * function[get_currentuserinfo()](https://developer.wordpress.org/reference/functions/get_currentuserinfo/)
 * Populate global variables with information about the currently logged in user.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_currentuserinfo/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/get_currentuserinfo/#uses)
   | Source: [wp-includes/pluggable-deprecated.php:48](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/pluggable-deprecated.php#L48-L52)
 * function[get_current_blog_id()](https://developer.wordpress.org/reference/functions/get_current_blog_id/)
 * Retrieves the current site ID.
 * Used by [63 functions](https://developer.wordpress.org/reference/functions/get_current_blog_id/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/get_current_blog_id/#uses)
   | Source: [wp-includes/load.php:1481](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/load.php#L1481-L1485)
 * function[get_current_network_id()](https://developer.wordpress.org/reference/functions/get_current_network_id/)
 * Retrieves the current network ID.
 * Used by [22 functions](https://developer.wordpress.org/reference/functions/get_current_network_id/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/get_current_network_id/#uses)
   | Source: [wp-includes/load.php:1494](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/load.php#L1494-L1506)
 * function[get_current_screen()](https://developer.wordpress.org/reference/functions/get_current_screen/)
 * Get the current screen object
 * Used by [32 functions](https://developer.wordpress.org/reference/functions/get_current_screen/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/functions/get_current_screen/#uses)
   | Source: [wp-admin/includes/screen.php:224](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-admin/includes/screen.php#L224-L232)
 * function[get_current_site()](https://developer.wordpress.org/reference/functions/get_current_site/)
 * Gets the current network.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_current_site/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/functions/get_current_site/#uses)
   | Source: [wp-includes/ms-functions.php:1974](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/ms-functions.php#L1974-L1977)
 * function[get_current_site_name()](https://developer.wordpress.org/reference/functions/get_current_site_name/)
 * This deprecated function formerly set the site_name property of the $current_site
   object.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_current_site_name/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/get_current_site_name/#uses)
   | Source: [wp-includes/ms-load.php:527](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/ms-load.php#L527-L530)
 * function[get_current_theme()](https://developer.wordpress.org/reference/functions/get_current_theme/)
 * Retrieve current theme name.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_current_theme/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/get_current_theme/#uses)
   | Source: [wp-includes/deprecated.php:2957](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/deprecated.php#L2957-L2964)
 * function[get_current_user_id()](https://developer.wordpress.org/reference/functions/get_current_user_id/)
 * Gets the current user’s ID.
 * Used by [111 functions](https://developer.wordpress.org/reference/functions/get_current_user_id/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/get_current_user_id/#uses)
   | Source: [wp-includes/user.php:726](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/user.php#L726-L732)
 * function[get_custom_header()](https://developer.wordpress.org/reference/functions/get_custom_header/)
 * Gets the header image data.
 * Used by [3 functions](https://developer.wordpress.org/reference/functions/get_custom_header/#used-by)
   | Uses [8 functions](https://developer.wordpress.org/reference/functions/get_custom_header/#uses)
   | Source: [wp-includes/theme.php:1567](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/theme.php#L1567-L1601)
 * function[get_custom_header_markup()](https://developer.wordpress.org/reference/functions/get_custom_header_markup/)
 * Retrieves the markup for a custom header.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/get_custom_header_markup/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/get_custom_header_markup/#uses)
   | Source: [wp-includes/theme.php:1808](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/theme.php#L1808-L1817)
 * 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:1058](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/general-template.php#L1058-L1153)
 * function[get_dashboard_blog()](https://developer.wordpress.org/reference/functions/get_dashboard_blog/)
 * Get the “dashboard blog”, the blog where users without a blog edit their profile
   data.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_dashboard_blog/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/get_dashboard_blog/#uses)
   | Source: [wp-includes/ms-deprecated.php:26](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/ms-deprecated.php#L26-L33)
 * function[get_dashboard_url()](https://developer.wordpress.org/reference/functions/get_dashboard_url/)
 * Retrieves the URL to the user’s dashboard.
 * Used by [5 functions](https://developer.wordpress.org/reference/functions/get_dashboard_url/#used-by)
   | Uses [10 functions](https://developer.wordpress.org/reference/functions/get_dashboard_url/#uses)
   | Source: [wp-includes/link-template.php:3984](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/link-template.php#L3984-L4020)
 * function[get_date_from_gmt()](https://developer.wordpress.org/reference/functions/get_date_from_gmt/)
 * Given a date in UTC or GMT timezone, returns that date in the timezone of the
   site.
 * Used by [4 functions](https://developer.wordpress.org/reference/functions/get_date_from_gmt/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/get_date_from_gmt/#uses)
   | Source: [wp-includes/formatting.php:3701](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/formatting.php#L3701-L3709)
 * function[get_date_template()](https://developer.wordpress.org/reference/functions/get_date_template/)
 * Retrieves path of date template in current or parent template.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_date_template/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/get_date_template/#uses)
   | Source: [wp-includes/template.php:383](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/template.php#L383-L385)
 * function[get_day_link()](https://developer.wordpress.org/reference/functions/get_day_link/)
 * Retrieves the permalink for the day archives with year and month.
 * Used by [3 functions](https://developer.wordpress.org/reference/functions/get_day_link/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/get_day_link/#uses)
   | Source: [wp-includes/link-template.php:623](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/link-template.php#L623-L656)
 * function[get_default_block_categories()](https://developer.wordpress.org/reference/functions/get_default_block_categories/)
 * Returns the list of default categories for block types.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/get_default_block_categories/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/get_default_block_categories/#uses)
   | Source: [wp-includes/block-editor.php:18](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/block-editor.php#L18-L56)
 * function[get_default_block_editor_settings()](https://developer.wordpress.org/reference/functions/get_default_block_editor_settings/)
 * Returns the default block editor settings.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/get_default_block_editor_settings/#used-by)
   | Uses [12 functions](https://developer.wordpress.org/reference/functions/get_default_block_editor_settings/#uses)
   | Source: [wp-includes/block-editor.php:155](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/block-editor.php#L155-L237)
 * function[get_default_block_template_types()](https://developer.wordpress.org/reference/functions/get_default_block_template_types/)
 * Returns a filtered list of default template types, containing their localized
   titles and descriptions.
 * Used by [6 functions](https://developer.wordpress.org/reference/functions/get_default_block_template_types/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/get_default_block_template_types/#uses)
   | Source: [wp-includes/block-template-utils.php:141](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/block-template-utils.php#L141-L243)

 [Previous Page](https://developer.wordpress.org/reference/functions/page/18/?output_format=md)

[1](https://developer.wordpress.org/reference/functions/?output_format=md) … [17](https://developer.wordpress.org/reference/functions/page/17/?output_format=md)
[18](https://developer.wordpress.org/reference/functions/page/18/?output_format=md)
19 [20](https://developer.wordpress.org/reference/functions/page/20/?output_format=md)
[21](https://developer.wordpress.org/reference/functions/page/21/?output_format=md)…
[49](https://developer.wordpress.org/reference/functions/page/49/?output_format=md)

 [Next Page](https://developer.wordpress.org/reference/functions/page/20/?output_format=md)