WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
777 | $posts_columns['media'] = _x('File', 'column name'); |
778 | $posts_columns['author'] = __('Author'); |
779 | //$posts_columns['tags'] = _x('Tags', 'column name'); |
780 | /* translators: column name */ |
781 | $posts_columns['parent'] = _x('Attached to', 'column name'); |
782 | $posts_columns['comments'] = '<div class="vers"><img alt="Comments" src="images/comment-grey-bubble.png" /></div>'; |
783 | //$posts_columns['comments'] = __('Comments'); |
784 | /* translators: column name */ |
785 | $posts_columns['date'] = _x('Date', 'column name'); |
786 | $posts_columns = apply_filters('manage_media_columns', $posts_columns); |
787 |
|
788 | return $posts_columns; |
789 | } |
790 |
|
791 | /** |
792 | * {@internal Missing Short Description}} |
793 | * |
794 | * @since unknown |
795 | * |