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.
This hook occurs 2 times in this file.
Line | Code |
---|---|
732 | * time and date together available as an abbreviation definition. |
733 | * |
734 | * @since 2.5.1 |
735 | * |
736 | * @param array $t_time The published time. |
737 | * @param WP_Post $post Post object. |
738 | * @param string $column_name The column name. |
739 | * @param string $mode The list display mode ('excerpt' or 'list'). |
740 | */ |
741 | echo apply_filters( 'post_date_column_time', $t_time, $post, $column_name, $mode ); |
742 | } else { |
743 |
|
744 | /** This filter is documented in wp-admin/includes/class-wp-posts-list-table.php */ |
745 | echo '<abbr title="' . $t_time . '">' . apply_filters( 'post_date_column_time', $h_time, $post, $column_name, $mode ) . '</abbr>'; |
746 | } |
747 | echo '<br />'; |
748 | if ( 'publish' == $post->post_status ) { |
749 | _e( 'Published' ); |
750 | } elseif ( 'future' == $post->post_status ) { |
751 | if ( $time_diff > 0 ) |
752 | echo '<strong class="attention">' . __( 'Missed schedule' ) . '</strong>'; |
753 | else |
754 | _e( 'Scheduled' ); |