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 |
---|---|
641 | $posts_columns['media'] = _x('File', 'column name'); |
642 | $posts_columns['author'] = __('Author'); |
643 | //$posts_columns['tags'] = _x('Tags', 'column name'); |
644 | /* translators: column name */ |
645 | $posts_columns['parent'] = _x('Attached to', 'column name'); |
646 | $posts_columns['comments'] = '<div class="vers"><img alt="Comments" src="' . esc_url( admin_url( 'images/comment-grey-bubble.png' ) ) . '" /></div>'; |
647 | //$posts_columns['comments'] = __('Comments'); |
648 | /* translators: column name */ |
649 | $posts_columns['date'] = _x('Date', 'column name'); |
650 | $posts_columns = apply_filters('manage_media_columns', $posts_columns); |
651 |
|
652 | return $posts_columns; |
653 | } |
654 |
|
655 | /** |
656 | * {@internal Missing Short Description}} |
657 | * |
658 | * @since unknown |
659 | * |