Title: Hooks | Page 8 of 49 | Developer.WordPress.org

---

# Hooks

 * hook[blog_privacy_selector](https://developer.wordpress.org/reference/hooks/blog_privacy_selector/)
 * Enables the legacy ‘Site visibility’ privacy options.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/blog_privacy_selector/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/blog_privacy_selector/#uses)
   | Source: [wp-admin/options-reading.php:235](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/options-reading.php#L235-L235)
 * hook[blog_redirect_404](https://developer.wordpress.org/reference/hooks/blog_redirect_404/)
 * Filters the redirect URL for 404s on the main site.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/blog_redirect_404/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/blog_redirect_404/#uses)
   | Source: [wp-includes/ms-functions.php:2200](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/ms-functions.php#L2200-L2200)
 * hook[body_class](https://developer.wordpress.org/reference/hooks/body_class/)
 * Filters the list of CSS body class names for the current post or page.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/body_class/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/body_class/#uses)
   | Source: [wp-includes/post-template.php:869](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/post-template.php#L869-L869)
 * hook[browse-happy-notice](https://developer.wordpress.org/reference/hooks/browse-happy-notice/)
 * Filters the notice output for the ‘Browse Happy’ nag meta box.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/browse-happy-notice/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/browse-happy-notice/#uses)
   | Source: [wp-admin/includes/dashboard.php:1791](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/dashboard.php#L1791-L1791)
 * hook[bulk_actions-{$this->screen->id}](https://developer.wordpress.org/reference/hooks/bulk_actions-this-screen-id/)
 * Filters the items in the bulk actions menu of the list table.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/bulk_actions-this-screen-id/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/bulk_actions-this-screen-id/#uses)
   | Source: [wp-admin/includes/class-wp-list-table.php:586](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/class-wp-list-table.php#L586-L586)
 * hook[bulk_action_observer_ids](https://developer.wordpress.org/reference/hooks/bulk_action_observer_ids/)
 * Filters the array of field name attributes for bulk actions.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/bulk_action_observer_ids/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/bulk_action_observer_ids/#uses)
   | Source: [wp-includes/script-loader.php:788](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/script-loader.php#L788-L788)
 * hook[bulk_edit_custom_box](https://developer.wordpress.org/reference/hooks/bulk_edit_custom_box/)
 * Fires once for each column in Bulk Edit mode.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/bulk_edit_custom_box/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/bulk_edit_custom_box/#uses)
   | Source: [wp-admin/includes/class-wp-posts-list-table.php:2091](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/class-wp-posts-list-table.php#L2091-L2091)
 * hook[bulk_edit_posts](https://developer.wordpress.org/reference/hooks/bulk_edit_posts/)
 * Fires after processing the post data for bulk edit.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/bulk_edit_posts/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/bulk_edit_posts/#uses)
   | Source: [wp-admin/includes/post.php:726](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/post.php#L726-L726)
 * hook[bulk_post_updated_messages](https://developer.wordpress.org/reference/hooks/bulk_post_updated_messages/)
 * Filters the bulk action updated messages.
 * Used by [0 functions](https://developer.wordpress.org/reference/hooks/bulk_post_updated_messages/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/bulk_post_updated_messages/#uses)
   | Source: [wp-admin/edit.php:408](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/edit.php#L408-L408)
 * hook[cancel_comment_reply_link](https://developer.wordpress.org/reference/hooks/cancel_comment_reply_link/)
 * Filters the cancel comment reply link HTML.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/cancel_comment_reply_link/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/cancel_comment_reply_link/#uses)
   | Source: [wp-includes/comment-template.php:2021](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/comment-template.php#L2021-L2021)
 * hook[can_add_user_to_blog](https://developer.wordpress.org/reference/hooks/can_add_user_to_blog/)
 * Filters whether a user should be added to a site.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/can_add_user_to_blog/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/can_add_user_to_blog/#uses)
   | Source: [wp-includes/ms-functions.php:182](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/ms-functions.php#L182-L182)
 * hook[can_edit_network](https://developer.wordpress.org/reference/hooks/can_edit_network/)
 * Filters whether this network can be edited from this page.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/can_edit_network/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/can_edit_network/#uses)
   | Source: [wp-admin/includes/ms.php:834](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/ms.php#L834-L834)
 * hook[category_css_class](https://developer.wordpress.org/reference/hooks/category_css_class/)
 * Filters the list of CSS classes to include with each category in the list.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/category_css_class/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/category_css_class/#uses)
   | Source: [wp-includes/class-walker-category.php:245](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/class-walker-category.php#L245-L245)
 * hook[category_description](https://developer.wordpress.org/reference/hooks/category_description/)
 * Filters the category description for display.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/category_description/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/category_description/#uses)
   | Source: [wp-includes/class-walker-category.php:125](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/class-walker-category.php#L125-L125)
 * hook[category_feed_link](https://developer.wordpress.org/reference/hooks/category_feed_link/)
 * Filters the category feed link.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/category_feed_link/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/category_feed_link/#uses)
   | Source: [wp-includes/link-template.php:983](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/link-template.php#L983-L983)
 * hook[category_link](https://developer.wordpress.org/reference/hooks/category_link/)
 * Filters the category link.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/category_link/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/category_link/#uses)
   | Source: [wp-includes/taxonomy.php:4758](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/taxonomy.php#L4758-L4758)
 * hook[category_list_link_attributes](https://developer.wordpress.org/reference/hooks/category_list_link_attributes/)
 * Filters the HTML attributes applied to a category list item’s anchor element.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/category_list_link_attributes/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/category_list_link_attributes/#uses)
   | Source: [wp-includes/class-walker-category.php:144](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/class-walker-category.php#L144-L144)
 * hook[change_locale](https://developer.wordpress.org/reference/hooks/change_locale/)
 * Fires when the locale is switched to or restored.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/change_locale/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/change_locale/#uses)
   | Source: [wp-includes/class-wp-locale-switcher.php:300](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/class-wp-locale-switcher.php#L300-L300)
 * hook[check_admin_referer](https://developer.wordpress.org/reference/hooks/check_admin_referer/)
 * Fires once the admin request has been validated or not.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/check_admin_referer/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/check_admin_referer/#uses)
   | Source: [wp-includes/pluggable.php:1390](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/pluggable.php#L1390-L1390)
 * hook[check_ajax_referer](https://developer.wordpress.org/reference/hooks/check_ajax_referer/)
 * Fires once the Ajax request has been validated or not.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/check_ajax_referer/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/check_ajax_referer/#uses)
   | Source: [wp-includes/pluggable.php:1443](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/pluggable.php#L1443-L1443)
 * hook[check_comment_flood](https://developer.wordpress.org/reference/hooks/check_comment_flood/)
 * Fires immediately before a comment is marked approved.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/check_comment_flood/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/check_comment_flood/#uses)
   | Source: [wp-includes/comment.php:777](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/comment.php#L777-L783)
 * hook[check_is_user_spammed](https://developer.wordpress.org/reference/hooks/check_is_user_spammed/)
 * Filters whether the user has been marked as a spammer.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/check_is_user_spammed/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/check_is_user_spammed/#uses)
   | Source: [wp-includes/user.php:565](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/user.php#L565-L565)
 * hook[check_password](https://developer.wordpress.org/reference/hooks/check_password/)
 * Filters whether the plaintext password matches the hashed password.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/check_password/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/check_password/#uses)
   | Source: [wp-includes/pluggable.php:2882](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/pluggable.php#L2882-L2882)
 * hook[check_passwords](https://developer.wordpress.org/reference/hooks/check_passwords/)
 * Fires before the password and confirm password fields are checked for congruity.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/check_passwords/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/check_passwords/#uses)
   | Source: [wp-admin/includes/user.php:169](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/user.php#L169-L169)
 * hook[clean_attachment_cache](https://developer.wordpress.org/reference/hooks/clean_attachment_cache/)
 * Fires after the given attachment’s cache is cleaned.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/clean_attachment_cache/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/clean_attachment_cache/#uses)
   | Source: [wp-includes/post.php:7911](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/post.php#L7911-L7911)
 * hook[clean_comment_cache](https://developer.wordpress.org/reference/hooks/clean_comment_cache/)
 * Fires immediately after a comment has been removed from the object cache.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/clean_comment_cache/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/clean_comment_cache/#uses)
   | Source: [wp-includes/comment.php:3425](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/comment.php#L3425-L3425)
 * hook[clean_network_cache](https://developer.wordpress.org/reference/hooks/clean_network_cache/)
 * Fires immediately after a network has been removed from the object cache.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/clean_network_cache/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/clean_network_cache/#uses)
   | Source: [wp-includes/ms-network.php:96](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/ms-network.php#L96-L96)
 * hook[clean_object_term_cache](https://developer.wordpress.org/reference/hooks/clean_object_term_cache/)
 * Fires after the object term cache has been cleaned.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/clean_object_term_cache/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/clean_object_term_cache/#uses)
   | Source: [wp-includes/taxonomy.php:3658](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/taxonomy.php#L3658-L3658)
 * hook[clean_page_cache](https://developer.wordpress.org/reference/hooks/clean_page_cache/)
 * Fires immediately after the given page’s cache is cleaned.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/clean_page_cache/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/clean_page_cache/#uses)
   | Source: [wp-includes/post.php:7759](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/post.php#L7759-L7759)
 * hook[clean_post_cache](https://developer.wordpress.org/reference/hooks/clean_post_cache/)
 * Fires immediately after the given post’s cache is cleaned.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/clean_post_cache/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/clean_post_cache/#uses)
   | Source: [wp-includes/post.php:7747](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/post.php#L7747-L7747)

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

[1](https://developer.wordpress.org/reference/hooks/?output_format=md) … [6](https://developer.wordpress.org/reference/hooks/page/6/?output_format=md)
[7](https://developer.wordpress.org/reference/hooks/page/7/?output_format=md) 8 
[9](https://developer.wordpress.org/reference/hooks/page/9/?output_format=md) [10](https://developer.wordpress.org/reference/hooks/page/10/?output_format=md)…
[49](https://developer.wordpress.org/reference/hooks/page/49/?output_format=md)

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