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 |
|---|---|
| 735 | $posts_columns['cb'] = '<input type="checkbox" />'; |
| 736 | $posts_columns['title'] = __('Title'); |
| 737 | $posts_columns['author'] = __('Author'); |
| 738 | $post_status = 'all'; |
| 739 | if ( !empty($_GET['post_status']) ) |
| 740 | $post_status = $_GET['post_status']; |
| 741 | if ( !in_array($post_status, array('pending', 'draft', 'future')) ) |
| 742 | $posts_columns['comments'] = '<div class="vers"><img alt="" src="images/comment-grey-bubble.png" /></div>'; |
| 743 | $posts_columns['date'] = __('Date'); |
| 744 | $posts_columns = apply_filters('manage_pages_columns', $posts_columns); |
| 745 | |
| 746 | return $posts_columns; |
| 747 | } |
| 748 | |
| 749 | /** |
| 750 | * {@internal Missing Short Description}} |
| 751 | * |
| 752 | * @since unknown |
| 753 | * |