Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: manage_pages_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
800      $posts_columns['cb'] = '<input type="checkbox" />';
801      $posts_columns['title'] = __('Title');
802      $posts_columns['author'] = __('Author');
803      $post_status = 'all';
804      if ( !empty($_GET['post_status']) )
805           $post_status = $_GET['post_status'];
806      if ( !in_array($post_status, array('pending', 'draft', 'future')) )
807           $posts_columns['comments'] = '<div class="vers"><img alt="" src="images/comment-grey-bubble.png" /></div>';
808      $posts_columns['date'] = __('Date');
809      $posts_columns = apply_filters('manage_pages_columns', $posts_columns);
810
811      return $posts_columns;
812 }
813
814 /**
815  * {@internal Missing Short Description}}
816  *
817  * @since unknown
818  *