Welcome, visitor! Log in
 

Deprecated hooks in WP 2.7

The following hooks occured in 2.6 but do not occur in 2.7. Note that some of them may have been renamed, not removed. See below.

Important! Some hooks get applied in multiple files. If you are trying to figure out what a specific hook does, sort the table by "hook" and make sure you are looking in all the files where it occurs.

  • To sort the table, click on a column title.
  • Click a hook name to see details about the hook.
  • Click a file name to see only hooks used in that file.
Hook Type Renamed? File
1 admin_head{$hook_suffix} note action DEPRECATED /.../admin-header.php
2 admin_print_scripts{$hook_suffix} note action DEPRECATED /.../admin-header.php
3 admin_print_styles{$hook_suffix} note action DEPRECATED /.../admin-header.php
4 cat_row filter DEPRECATED /.../template.php
5 cat_rows filter DEPRECATED /.../edit-link-categories.php
6 cat_rows filter DEPRECATED /.../template.php
7 comment_relatedlinks_list action DEPRECATED /.../edit-form-comment.php
8 dashboard_count_sentence filter DEPRECATED /.../index.php
9 dashmenu action DEPRECATED /.../menu-header.php
10 link_cat_row filter DEPRECATED /.../template.php
11 link_relatedlinks_list action DEPRECATED /.../edit-link-form.php
12 manage_link_columns filter DEPRECATED /.../link-manager.php
13 manage_media_media_column action DEPRECATED /.../edit-attachment-rows.php
14 mce_options action DEPRECATED /.../tiny_mce_config.php
15 page_relatedlinks_list action DEPRECATED /.../edit-page-form.php
16 post_relatedlinks_list action DEPRECATED /.../edit-form-advanced.php
17 sidemenu action DEPRECATED /.../menu-header.php
18 simple_edit_form action DEPRECATED /.../edit-form.php
19 submitcomment_box action DEPRECATED /.../edit-form-comment.php
20 tag_rows filter DEPRECATED /.../template.php
21 visual_editor filter DEPRECATED /.../script-loader.php
22 wp_dashboard_widget_links_{$widget_id} note filter DEPRECATED /.../dashboard.php

Warning about variable hooks

Some hooks have variables in their names. For example, pre_${taxonomy}_$field and admin_head- both have variable names. In general, any hook that ends (or begins) with - or _, or contains a $, has a variable name. Since the syntax with which these variables are defined may change from version to version, this page may think that a hook is deprecated (or new) even if it is not.