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

---

# Functions

 * function[clean_object_term_cache()](https://developer.wordpress.org/reference/functions/clean_object_term_cache/)
 * Removes the taxonomy relationship to terms from the cache.
 * Used by [4 functions](https://developer.wordpress.org/reference/functions/clean_object_term_cache/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/clean_object_term_cache/#uses)
   | Source: [wp-includes/taxonomy.php:3631](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/taxonomy.php#L3631-L3659)
 * function[clean_page_cache()](https://developer.wordpress.org/reference/functions/clean_page_cache/)
 * Will clean the page in the cache.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/clean_page_cache/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/clean_page_cache/#uses)
   | Source: [wp-includes/deprecated.php:3137](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L3137-L3141)
 * function[clean_post_cache()](https://developer.wordpress.org/reference/functions/clean_post_cache/)
 * Will clean the post in the cache.
 * Used by [14 functions](https://developer.wordpress.org/reference/functions/clean_post_cache/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/functions/clean_post_cache/#uses)
   | Source: [wp-includes/post.php:7718](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/post.php#L7718-L7763)
 * function[clean_pre()](https://developer.wordpress.org/reference/functions/clean_pre/)
 * Accepts matches array from preg_replace_callback in wpautop() or a string.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/clean_pre/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/clean_pre/#uses)
   | Source: [wp-includes/deprecated.php:2983](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L2983-L2996)
 * function[clean_site_details_cache()](https://developer.wordpress.org/reference/functions/clean_site_details_cache/)
 * Cleans the site details cache for a site.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/clean_site_details_cache/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/clean_site_details_cache/#uses)
   | Source: [wp-includes/ms-blogs.php:330](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/ms-blogs.php#L330-L338)
 * function[clean_taxonomy_cache()](https://developer.wordpress.org/reference/functions/clean_taxonomy_cache/)
 * Cleans the caches for a taxonomy.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/clean_taxonomy_cache/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/clean_taxonomy_cache/#uses)
   | Source: [wp-includes/taxonomy.php:3733](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/taxonomy.php#L3733-L3752)
 * function[clean_term_cache()](https://developer.wordpress.org/reference/functions/clean_term_cache/)
 * Removes all of the term IDs from the cache.
 * Used by [5 functions](https://developer.wordpress.org/reference/functions/clean_term_cache/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/functions/clean_term_cache/#uses)
   | Source: [wp-includes/taxonomy.php:3675](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/taxonomy.php#L3675-L3724)
 * function[clean_url()](https://developer.wordpress.org/reference/functions/clean_url/)
 * Checks and cleans a URL.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/clean_url/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/clean_url/#uses)
   | Source: [wp-includes/deprecated.php:2047](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L2047-L2053)
 * function[clean_user_cache()](https://developer.wordpress.org/reference/functions/clean_user_cache/)
 * Cleans all user caches.
 * Used by [11 functions](https://developer.wordpress.org/reference/functions/clean_user_cache/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/clean_user_cache/#uses)
   | Source: [wp-includes/user.php:2019](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/user.php#L2019-L2048)
 * function[clear_global_post_cache()](https://developer.wordpress.org/reference/functions/clear_global_post_cache/)
 * Deprecated functionality to clear the global post cache.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/clear_global_post_cache/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/clear_global_post_cache/#uses)
   | Source: [wp-includes/ms-deprecated.php:143](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/ms-deprecated.php#L143-L145)
 * function[codepress_footer_js()](https://developer.wordpress.org/reference/functions/codepress_footer_js/)
 * Adds JavaScript required to make CodePress work on the theme/plugin file editors.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/codepress_footer_js/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/codepress_footer_js/#uses)
   | Source: [wp-admin/includes/deprecated.php:211](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/deprecated.php#L211-L213)
 * function[codepress_get_lang()](https://developer.wordpress.org/reference/functions/codepress_get_lang/)
 * Determines the language to use for CodePress syntax highlighting.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/codepress_get_lang/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/codepress_get_lang/#uses)
   | Source: [wp-admin/includes/deprecated.php:201](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/deprecated.php#L201-L203)
 * function[comments_link()](https://developer.wordpress.org/reference/functions/comments_link/)
 * Displays the link to the current post comments.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/comments_link/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/comments_link/#uses)
   | Source: [wp-includes/comment-template.php:896](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/comment-template.php#L896-L904)
 * function[comments_link_feed()](https://developer.wordpress.org/reference/functions/comments_link_feed/)
 * Outputs the link to the comments for the current post in an XML safe way.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/comments_link_feed/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/comments_link_feed/#uses)
   | Source: [wp-includes/feed.php:260](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/feed.php#L260-L270)
 * function[comments_number()](https://developer.wordpress.org/reference/functions/comments_number/)
 * Displays the language string for the number of comments the current post has.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/comments_number/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/comments_number/#uses)
   | Source: [wp-includes/comment-template.php:943](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/comment-template.php#L943-L945)
 * function[comments_open()](https://developer.wordpress.org/reference/functions/comments_open/)
 * Determines whether the current post is open for comments.
 * Used by [11 functions](https://developer.wordpress.org/reference/functions/comments_open/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/comments_open/#uses)
   | Source: [wp-includes/comment-template.php:1311](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/comment-template.php#L1311-L1326)
 * function[comments_popup_link()](https://developer.wordpress.org/reference/functions/comments_popup_link/)
 * Displays the link to the comments for the current post ID.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/comments_popup_link/#used-by)
   | Uses [16 functions](https://developer.wordpress.org/reference/functions/comments_popup_link/#uses)
   | Source: [wp-includes/comment-template.php:1644](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/comment-template.php#L1644-L1721)
 * function[comments_popup_script()](https://developer.wordpress.org/reference/functions/comments_popup_script/)
 * Display the JS popup script to show a comment.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/comments_popup_script/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/comments_popup_script/#uses)
   | Source: [wp-includes/deprecated.php:3778](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L3778-L3780)
 * function[comments_rss()](https://developer.wordpress.org/reference/functions/comments_rss/)
 * Return link to the post RSS feed.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/comments_rss/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/comments_rss/#uses)
   | Source: [wp-includes/deprecated.php:1200](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L1200-L1203)
 * function[comments_rss_link()](https://developer.wordpress.org/reference/functions/comments_rss_link/)
 * Print RSS comment feed link.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/comments_rss_link/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/comments_rss_link/#uses)
   | Source: [wp-includes/deprecated.php:1145](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L1145-L1148)
 * function[comments_template()](https://developer.wordpress.org/reference/functions/comments_template/)
 * Loads the comment template specified in $file.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/comments_template/#used-by)
   | Uses [15 functions](https://developer.wordpress.org/reference/functions/comments_template/#uses)
   | Source: [wp-includes/comment-template.php:1417](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/comment-template.php#L1417-L1631)
 * function[comment_author()](https://developer.wordpress.org/reference/functions/comment_author/)
 * Displays the author of the current comment.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/comment_author/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/comment_author/#uses)
   | Source: [wp-includes/comment-template.php:68](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/comment-template.php#L68-L83)
 * function[comment_author_email()](https://developer.wordpress.org/reference/functions/comment_author_email/)
 * Displays the email of the author of the current global $comment.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/comment_author_email/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/comment_author_email/#uses)
   | Source: [wp-includes/comment-template.php:126](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/comment-template.php#L126-L141)
 * function[comment_author_email_link()](https://developer.wordpress.org/reference/functions/comment_author_email_link/)
 * Displays the HTML email link to the author of the current comment.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/comment_author_email_link/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/comment_author_email_link/#uses)
   | Source: [wp-includes/comment-template.php:161](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/comment-template.php#L161-L166)
 * function[comment_author_IP()](https://developer.wordpress.org/reference/functions/comment_author_ip/)
 * Displays the IP address of the author of the current comment.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/comment_author_ip/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/comment_author_ip/#uses)
   | Source: [wp-includes/comment-template.php:344](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/comment-template.php#L344-L346)
 * function[comment_author_link()](https://developer.wordpress.org/reference/functions/comment_author_link/)
 * Displays the HTML link to the URL of the author of the current comment.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/comment_author_link/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/comment_author_link/#uses)
   | Source: [wp-includes/comment-template.php:305](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/comment-template.php#L305-L307)
 * function[comment_author_rss()](https://developer.wordpress.org/reference/functions/comment_author_rss/)
 * Displays the current comment author in the feed.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/comment_author_rss/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/comment_author_rss/#uses)
   | Source: [wp-includes/feed.php:347](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/feed.php#L347-L349)
 * function[comment_author_url()](https://developer.wordpress.org/reference/functions/comment_author_url/)
 * Displays the URL of the author of the current comment, not linked.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/comment_author_url/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/comment_author_url/#uses)
   | Source: [wp-includes/comment-template.php:393](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/comment-template.php#L393-L408)
 * function[comment_author_url_link()](https://developer.wordpress.org/reference/functions/comment_author_url_link/)
 * Displays the HTML link of the URL of the author of the current comment.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/comment_author_url_link/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/comment_author_url_link/#uses)
   | Source: [wp-includes/comment-template.php:475](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/comment-template.php#L475-L477)
 * function[comment_class()](https://developer.wordpress.org/reference/functions/comment_class/)
 * Generates semantic classes for each comment element.
 * Used by [4 functions](https://developer.wordpress.org/reference/functions/comment_class/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/comment_class/#uses)
   | Source: [wp-includes/comment-template.php:493](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/comment-template.php#L493-L502)

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

[1](https://developer.wordpress.org/reference/functions/?output_format=md) … [4](https://developer.wordpress.org/reference/functions/page/4/?output_format=md)
[5](https://developer.wordpress.org/reference/functions/page/5/?output_format=md)
6 [7](https://developer.wordpress.org/reference/functions/page/7/?output_format=md)
[8](https://developer.wordpress.org/reference/functions/page/8/?output_format=md)…
[49](https://developer.wordpress.org/reference/functions/page/49/?output_format=md)

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