Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: manage_{$page}_columns

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
832                     'email' => __('E-mail'),
833                     'role' => __('Role'),
834                     'posts' => __('Posts')
835                );
836                break;
837           default :
838                $_wp_column_headers[$page] = array();
839      }
840
841      $_wp_column_headers[$page] = apply_filters('manage_' . $page . '_columns', $_wp_column_headers[$page]);
842      return $_wp_column_headers[$page];
843 }
844
845 /**
846  * {@internal Missing Short Description}}
847  *
848  * @since unknown
849  *
850  * @param unknown_type $type