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

---

# Functions

 * function[get_blog_id_from_url()](https://developer.wordpress.org/reference/functions/get_blog_id_from_url/)
 * Gets a blog’s numeric ID from its URL.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_blog_id_from_url/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/get_blog_id_from_url/#uses)
   | Source: [wp-includes/ms-functions.php:350](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/ms-functions.php#L350-L379)
 * function[get_blog_list()](https://developer.wordpress.org/reference/functions/get_blog_list/)
 * Deprecated functionality to retrieve a list of all sites.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/get_blog_list/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/get_blog_list/#uses)
   | Source: [wp-includes/ms-deprecated.php:188](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/ms-deprecated.php#L188-L209)
 * function[get_blog_option()](https://developer.wordpress.org/reference/functions/get_blog_option/)
 * Retrieves option value for a given blog id based on name of option.
 * Used by [6 functions](https://developer.wordpress.org/reference/functions/get_blog_option/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/functions/get_blog_option/#uses)
   | Source: [wp-includes/ms-blogs.php:357](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/ms-blogs.php#L357-L383)
 * function[get_blog_permalink()](https://developer.wordpress.org/reference/functions/get_blog_permalink/)
 * Gets the permalink for a post on another blog.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_blog_permalink/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/get_blog_permalink/#uses)
   | Source: [wp-includes/ms-functions.php:326](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/ms-functions.php#L326-L332)
 * function[get_blog_post()](https://developer.wordpress.org/reference/functions/get_blog_post/)
 * Gets a blog post from any site on the network.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_blog_post/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/get_blog_post/#uses)
   | Source: [wp-includes/ms-functions.php:140](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/ms-functions.php#L140-L146)
 * function[get_blog_status()](https://developer.wordpress.org/reference/functions/get_blog_status/)
 * Gets a blog details field.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/get_blog_status/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/get_blog_status/#uses)
   | Source: [wp-includes/ms-blogs.php:802](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/ms-blogs.php#L802-L811)
 * function[get_body_class()](https://developer.wordpress.org/reference/functions/get_body_class/)
 * Retrieves an array of the class names for the body element.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/get_body_class/#used-by)
   | Uses [40 functions](https://developer.wordpress.org/reference/functions/get_body_class/#uses)
   | Source: [wp-includes/post-template.php:636](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/post-template.php#L636-L869)
 * function[get_bookmark()](https://developer.wordpress.org/reference/functions/get_bookmark/)
 * Retrieves bookmark data.
 * Used by [7 functions](https://developer.wordpress.org/reference/functions/get_bookmark/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/get_bookmark/#uses)
   | Source: [wp-includes/bookmark.php:24](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/bookmark.php#L24-L66)
 * function[get_bookmarks()](https://developer.wordpress.org/reference/functions/get_bookmarks/)
 * Retrieves the list of bookmarks.
 * Used by [4 functions](https://developer.wordpress.org/reference/functions/get_bookmarks/#used-by)
   | Uses [10 functions](https://developer.wordpress.org/reference/functions/get_bookmarks/#uses)
   | Source: [wp-includes/bookmark.php:136](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/bookmark.php#L136-L323)
 * function[get_bookmark_field()](https://developer.wordpress.org/reference/functions/get_bookmark_field/)
 * Retrieves single bookmark data item or field.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_bookmark_field/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/get_bookmark_field/#uses)
   | Source: [wp-includes/bookmark.php:78](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/bookmark.php#L78-L95)
 * function[get_boundary_post()](https://developer.wordpress.org/reference/functions/get_boundary_post/)
 * Retrieves the boundary post.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/get_boundary_post/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/get_boundary_post/#uses)
   | Source: [wp-includes/link-template.php:2202](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/link-template.php#L2202-L2251)
 * function[get_boundary_post_rel_link()](https://developer.wordpress.org/reference/functions/get_boundary_post_rel_link/)
 * Get boundary post relational link.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/get_boundary_post_rel_link/#used-by)
   | Uses [8 functions](https://developer.wordpress.org/reference/functions/get_boundary_post_rel_link/#uses)
   | Source: [wp-includes/deprecated.php:2687](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/deprecated.php#L2687-L2713)
 * function[get_broken_themes()](https://developer.wordpress.org/reference/functions/get_broken_themes/)
 * Retrieves a list of broken themes.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_broken_themes/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/get_broken_themes/#uses)
   | Source: [wp-admin/includes/deprecated.php:1037](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-admin/includes/deprecated.php#L1037-L1051)
 * function[get_calendar()](https://developer.wordpress.org/reference/functions/get_calendar/)
 * Displays calendar with days that have posts as links.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/get_calendar/#used-by)
   | Uses [24 functions](https://developer.wordpress.org/reference/functions/get_calendar/#uses)
   | Source: [wp-includes/general-template.php:2261](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/general-template.php#L2261-L2601)
 * function[get_cancel_comment_reply_link()](https://developer.wordpress.org/reference/functions/get_cancel_comment_reply_link/)
 * Retrieves HTML content for cancel comment reply link.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/get_cancel_comment_reply_link/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/get_cancel_comment_reply_link/#uses)
   | Source: [wp-includes/comment-template.php:1994](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/comment-template.php#L1994-L2021)
 * function[get_categories()](https://developer.wordpress.org/reference/functions/get_categories/)
 * Retrieves a list of category objects.
 * Used by [7 functions](https://developer.wordpress.org/reference/functions/get_categories/#used-by)
   | Uses [7 functions](https://developer.wordpress.org/reference/functions/get_categories/#uses)
   | Source: [wp-includes/category.php:26](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/category.php#L26-L67)
 * function[get_category()](https://developer.wordpress.org/reference/functions/get_category/)
 * Retrieves category data given a category ID or category object.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/get_category/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/get_category/#uses)
   | Source: [wp-includes/category.php:92](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/category.php#L92-L102)
 * function[get_category_by_path()](https://developer.wordpress.org/reference/functions/get_category_by_path/)
 * Retrieves a category based on URL containing the category slug.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/get_category_by_path/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/functions/get_category_by_path/#uses)
   | Source: [wp-includes/category.php:125](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/category.php#L125-L179)
 * function[get_category_by_slug()](https://developer.wordpress.org/reference/functions/get_category_by_slug/)
 * Retrieves a category object by category slug.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_category_by_slug/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/get_category_by_slug/#uses)
   | Source: [wp-includes/category.php:189](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/category.php#L189-L197)
 * function[get_category_children()](https://developer.wordpress.org/reference/functions/get_category_children/)
 * Retrieve category children list separated before and after the term IDs.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/get_category_children/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/functions/get_category_children/#uses)
   | Source: [wp-includes/deprecated.php:1275](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/deprecated.php#L1275-L1297)
 * function[get_category_feed_link()](https://developer.wordpress.org/reference/functions/get_category_feed_link/)
 * Retrieves the feed link for a category.
 * Used by [3 functions](https://developer.wordpress.org/reference/functions/get_category_feed_link/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/get_category_feed_link/#uses)
   | Source: [wp-includes/link-template.php:917](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/link-template.php#L917-L919)
 * function[get_category_link()](https://developer.wordpress.org/reference/functions/get_category_link/)
 * Retrieves category link URL.
 * Used by [3 functions](https://developer.wordpress.org/reference/functions/get_category_link/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/get_category_link/#uses)
   | Source: [wp-includes/category-template.php:20](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/category-template.php#L20-L32)
 * function[get_category_parents()](https://developer.wordpress.org/reference/functions/get_category_parents/)
 * Retrieves category parents with separator.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/get_category_parents/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/get_category_parents/#uses)
   | Source: [wp-includes/category-template.php:47](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/category-template.php#L47-L62)
 * function[get_category_rss_link()](https://developer.wordpress.org/reference/functions/get_category_rss_link/)
 * Print/Return link to category RSS2 feed.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_category_rss_link/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/get_category_rss_link/#uses)
   | Source: [wp-includes/deprecated.php:1158](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/deprecated.php#L1158-L1166)
 * function[get_category_template()](https://developer.wordpress.org/reference/functions/get_category_template/)
 * Retrieves path of category template in current or parent template.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_category_template/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/get_category_template/#uses)
   | Source: [wp-includes/template.php:254](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/template.php#L254-L272)
 * function[get_category_to_edit()](https://developer.wordpress.org/reference/functions/get_category_to_edit/)
 * Gets category object for given ID and ‘edit’ filter context.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_category_to_edit/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/get_category_to_edit/#uses)
   | Source: [wp-admin/includes/taxonomy.php:40](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-admin/includes/taxonomy.php#L40-L44)
 * function[get_catname()](https://developer.wordpress.org/reference/functions/get_catname/)
 * Retrieve the category name by the category ID.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_catname/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/get_catname/#uses)
   | Source: [wp-includes/deprecated.php:1256](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/deprecated.php#L1256-L1259)
 * function[get_cat_ID()](https://developer.wordpress.org/reference/functions/get_cat_id/)
 * Retrieves the ID of a category from its name.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/get_cat_id/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/get_cat_id/#uses)
   | Source: [wp-includes/category.php:207](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/category.php#L207-L215)
 * function[get_cat_name()](https://developer.wordpress.org/reference/functions/get_cat_name/)
 * Retrieves the name of a category from its ID.
 * Used by [5 functions](https://developer.wordpress.org/reference/functions/get_cat_name/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/get_cat_name/#uses)
   | Source: [wp-includes/category.php:225](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/category.php#L225-L234)
 * function[get_children()](https://developer.wordpress.org/reference/functions/get_children/)
 * Retrieves all children of the post parent ID.
 * Used by [7 functions](https://developer.wordpress.org/reference/functions/get_children/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/get_children/#uses)
   | Source: [wp-includes/post.php:991](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/post.php#L991-L1047)

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

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

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