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 |
---|---|
835 | * time and date together available as an abbreviation definition. |
836 | * |
837 | * @since 2.5.1 |
838 | * |
839 | * @param array $t_time The published time. |
840 | * @param WP_Post $post Post object. |
841 | * @param string $column_name The column name. |
842 | * @param string $mode The list display mode ('excerpt' or 'list'). |
843 | */ |
844 | echo apply_filters( 'post_date_column_time', $t_time, $post, 'date', $mode ); |
845 | } else { |
846 |
|
847 | /** This filter is documented in wp-admin/includes/class-wp-posts-list-table.php */ |
848 | echo '<abbr title="' . $t_time . '">' . apply_filters( 'post_date_column_time', $h_time, $post, 'date', $mode ) . '</abbr>'; |
849 | } |
850 | echo '<br />'; |
851 | if ( 'publish' == $post->post_status ) { |
852 | _e( 'Published' ); |
853 | } elseif ( 'future' == $post->post_status ) { |
854 | if ( $time_diff > 0 ) { |
855 | echo '<strong class="error-message">' . __( 'Missed schedule' ) . '</strong>'; |
856 | } else { |
857 | _e( 'Scheduled' ); |