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

---

# Functions

 * function[bulk_edit_posts()](https://developer.wordpress.org/reference/functions/bulk_edit_posts/)
 * Processes the post data for the bulk editing of posts.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/bulk_edit_posts/#used-by)
   | Uses [26 functions](https://developer.wordpress.org/reference/functions/bulk_edit_posts/#uses)
   | Source: [wp-admin/includes/post.php:500](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/post.php#L500-L733)
 * function[cache_javascript_headers()](https://developer.wordpress.org/reference/functions/cache_javascript_headers/)
 * Sets the HTTP headers for caching for 10 days with JavaScript content type.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/cache_javascript_headers/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/cache_javascript_headers/#uses)
   | Source: [wp-includes/functions.php:1559](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/functions.php#L1559-L1565)
 * function[cache_users()](https://developer.wordpress.org/reference/functions/cache_users/)
 * Retrieves info for user lists to prevent multiple queries by get_userdata().
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/cache_users/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/cache_users/#uses)
   | Source: [wp-includes/pluggable.php:125](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/pluggable.php#L125-L143)
 * function[calendar_week_mod()](https://developer.wordpress.org/reference/functions/calendar_week_mod/)
 * Gets number of days since the start of the week.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/calendar_week_mod/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/functions/calendar_week_mod/#uses)
   | Source: [wp-includes/general-template.php:2241](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/general-template.php#L2241-L2244)
 * function[cancel_comment_reply_link()](https://developer.wordpress.org/reference/functions/cancel_comment_reply_link/)
 * Displays HTML content for cancel comment reply link.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/cancel_comment_reply_link/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/cancel_comment_reply_link/#uses)
   | Source: [wp-includes/comment-template.php:2032](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/comment-template.php#L2032-L2034)
 * function[can_edit_network()](https://developer.wordpress.org/reference/functions/can_edit_network/)
 * Determines whether or not this network from this page can be edited.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/can_edit_network/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/can_edit_network/#uses)
   | Source: [wp-admin/includes/ms.php:819](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/ms.php#L819-L835)
 * function[capital_P_dangit()](https://developer.wordpress.org/reference/functions/capital_p_dangit/)
 * Forever eliminate “Wordpress” from the planet (or at least the little bit we 
   can influence).
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/capital_p_dangit/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/capital_p_dangit/#uses)
   | Source: [wp-includes/formatting.php:5698](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/formatting.php#L5698-L5714)
 * function[category_description()](https://developer.wordpress.org/reference/functions/category_description/)
 * Retrieves category description.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/category_description/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/category_description/#uses)
   | Source: [wp-includes/category-template.php:288](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/category-template.php#L288-L290)
 * function[category_exists()](https://developer.wordpress.org/reference/functions/category_exists/)
 * Checks whether a category exists.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/category_exists/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/category_exists/#uses)
   | Source: [wp-admin/includes/taxonomy.php:24](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/taxonomy.php#L24-L30)
 * function[cat_is_ancestor_of()](https://developer.wordpress.org/reference/functions/cat_is_ancestor_of/)
 * Checks if a category is an ancestor of another category.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/cat_is_ancestor_of/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/cat_is_ancestor_of/#uses)
   | Source: [wp-includes/category.php:248](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/category.php#L248-L250)
 * function[checked()](https://developer.wordpress.org/reference/functions/checked/)
 * Outputs the HTML checked attribute.
 * Used by [30 functions](https://developer.wordpress.org/reference/functions/checked/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/checked/#uses)
   | Source: [wp-includes/general-template.php:5279](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/general-template.php#L5279-L5281)
 * function[check_admin_referer()](https://developer.wordpress.org/reference/functions/check_admin_referer/)
 * Ensures intent by verifying that a user was referred from another admin page 
   with the correct security nonce.
 * Used by [12 functions](https://developer.wordpress.org/reference/functions/check_admin_referer/#used-by)
   | Uses [7 functions](https://developer.wordpress.org/reference/functions/check_admin_referer/#uses)
   | Source: [wp-includes/pluggable.php:1372](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/pluggable.php#L1372-L1398)
 * function[check_ajax_referer()](https://developer.wordpress.org/reference/functions/check_ajax_referer/)
 * Verifies the Ajax request to prevent processing requests external of the blog.
 * Used by [85 functions](https://developer.wordpress.org/reference/functions/check_ajax_referer/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/check_ajax_referer/#uses)
   | Source: [wp-includes/pluggable.php:1417](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/pluggable.php#L1417-L1454)
 * function[check_and_publish_future_post()](https://developer.wordpress.org/reference/functions/check_and_publish_future_post/)
 * Publishes future post and make sure post ID has future post status.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/check_and_publish_future_post/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/check_and_publish_future_post/#uses)
   | Source: [wp-includes/post.php:5385](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/post.php#L5385-L5407)
 * function[check_column()](https://developer.wordpress.org/reference/functions/check_column/)
 * Checks that database table column matches the criteria.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/check_column/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/check_column/#uses)
   | Source: [wp-admin/install-helper.php:183](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/install-helper.php#L183-L221)
 * function[check_comment()](https://developer.wordpress.org/reference/functions/check_comment/)
 * Checks whether a comment passes internal checks to be allowed to add.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/check_comment/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/check_comment/#uses)
   | Source: [wp-includes/comment.php:39](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/comment.php#L39-L169)
 * function[check_comment_flood_db()](https://developer.wordpress.org/reference/functions/check_comment_flood_db/)
 * Hooks WP’s native database-based comment-flood check.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/check_comment_flood_db/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/check_comment_flood_db/#uses)
   | Source: [wp-includes/comment.php:829](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/comment.php#L829-L831)
 * function[check_import_new_users()](https://developer.wordpress.org/reference/functions/check_import_new_users/)
 * Checks if the current user has permissions to import new users.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/check_import_new_users/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/check_import_new_users/#uses)
   | Source: [wp-admin/includes/ms.php:616](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/ms.php#L616-L618)
 * function[check_password_reset_key()](https://developer.wordpress.org/reference/functions/check_password_reset_key/)
 * Retrieves a user row based on password reset key and login.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/check_password_reset_key/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/functions/check_password_reset_key/#uses)
   | Source: [wp-includes/user.php:3157](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/user.php#L3157-L3229)
 * function[check_theme_switched()](https://developer.wordpress.org/reference/functions/check_theme_switched/)
 * Checks if a theme has been changed and runs ‘after_switch_theme’ hook on the 
   next WP load.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/check_theme_switched/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/check_theme_switched/#uses)
   | Source: [wp-includes/theme.php:3474](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/theme.php#L3474-L3512)
 * function[check_upload_mimes()](https://developer.wordpress.org/reference/functions/check_upload_mimes/)
 * Checks an array of MIME types against a list of allowed types.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/check_upload_mimes/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/check_upload_mimes/#uses)
   | Source: [wp-includes/ms-functions.php:2047](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/ms-functions.php#L2047-L2058)
 * function[check_upload_size()](https://developer.wordpress.org/reference/functions/check_upload_size/)
 * Determines whether uploaded file exceeds space quota.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/check_upload_size/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/check_upload_size/#uses)
   | Source: [wp-admin/includes/ms.php:18](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/ms.php#L18-L53)
 * function[choose_primary_blog()](https://developer.wordpress.org/reference/functions/choose_primary_blog/)
 * Handles the display of choosing a user’s primary site.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/choose_primary_blog/#used-by)
   | Uses [8 functions](https://developer.wordpress.org/reference/functions/choose_primary_blog/#uses)
   | Source: [wp-admin/includes/ms.php:762](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/ms.php#L762-L806)
 * function[clean_attachment_cache()](https://developer.wordpress.org/reference/functions/clean_attachment_cache/)
 * Will clean the attachment in the cache.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/clean_attachment_cache/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/clean_attachment_cache/#uses)
   | Source: [wp-includes/post.php:7888](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/post.php#L7888-L7912)
 * function[clean_blog_cache()](https://developer.wordpress.org/reference/functions/clean_blog_cache/)
 * Clean the blog cache
 * Used by [7 functions](https://developer.wordpress.org/reference/functions/clean_blog_cache/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/clean_blog_cache/#uses)
   | Source: [wp-includes/ms-site.php:959](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/ms-site.php#L959-L1020)
 * function[clean_bookmark_cache()](https://developer.wordpress.org/reference/functions/clean_bookmark_cache/)
 * Deletes the bookmark cache.
 * Used by [4 functions](https://developer.wordpress.org/reference/functions/clean_bookmark_cache/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/clean_bookmark_cache/#uses)
   | Source: [wp-includes/bookmark.php:467](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/bookmark.php#L467-L471)
 * function[clean_category_cache()](https://developer.wordpress.org/reference/functions/clean_category_cache/)
 * Removes the category cache data based on ID.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/clean_category_cache/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/clean_category_cache/#uses)
   | Source: [wp-includes/category.php:354](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/category.php#L354-L356)
 * function[clean_comment_cache()](https://developer.wordpress.org/reference/functions/clean_comment_cache/)
 * Removes a comment from the object cache.
 * Used by [8 functions](https://developer.wordpress.org/reference/functions/clean_comment_cache/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/clean_comment_cache/#uses)
   | Source: [wp-includes/comment.php:3414](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/comment.php#L3414-L3429)
 * function[clean_dirsize_cache()](https://developer.wordpress.org/reference/functions/clean_dirsize_cache/)
 * Cleans directory size cache used by recurse_dirsize().
 * Used by [3 functions](https://developer.wordpress.org/reference/functions/clean_dirsize_cache/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/clean_dirsize_cache/#uses)
   | Source: [wp-includes/functions.php:8926](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/functions.php#L8926-L8972)
 * function[clean_network_cache()](https://developer.wordpress.org/reference/functions/clean_network_cache/)
 * Removes a network from the object cache.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/clean_network_cache/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/clean_network_cache/#uses)
   | Source: [wp-includes/ms-network.php:78](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/ms-network.php#L78-L100)

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

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

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