Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: manage_media_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
783      $posts_columns['media'] = _x('File', 'column name');
784      $posts_columns['author'] = __('Author');
785      //$posts_columns['tags'] = _x('Tags', 'column name');
786      /* translators: column name */
787      $posts_columns['parent'] = _x('Attached to', 'column name');
788      $posts_columns['comments'] = '<div class="vers"><img alt="Comments" src="images/comment-grey-bubble.png" /></div>';
789      //$posts_columns['comments'] = __('Comments');
790      /* translators: column name */
791      $posts_columns['date'] = _x('Date', 'column name');
792      $posts_columns = apply_filters('manage_media_columns', $posts_columns);
793
794      return $posts_columns;
795 }
796
797 /**
798  * {@internal Missing Short Description}}
799  *
800  * @since unknown
801  *