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 |
---|---|
1115 | * time and date together available as an abbreviation definition. |
1116 | * |
1117 | * @since 2.5.1 |
1118 | * |
1119 | * @param string $t_time The published time. |
1120 | * @param WP_Post $post Post object. |
1121 | * @param string $column_name The column name. |
1122 | * @param string $mode The list display mode ('excerpt' or 'list'). |
1123 | */ |
1124 | echo apply_filters( 'post_date_column_time', $t_time, $post, 'date', $mode ); |
1125 | } else { |
1126 |
|
1127 | /** This filter is documented in wp-admin/includes/class-wp-posts-list-table.php */ |
1128 | echo '<span title="' . $t_time . '">' . apply_filters( 'post_date_column_time', $h_time, $post, 'date', $mode ) . '</span>'; |
1129 | } |
1130 | } |
1131 |
|
1132 | /** |
1133 | * Handles the comments column output. |
1134 | * |
1135 | * @since 4.3.0 |
1136 | * |
1137 | * @param WP_Post $post The current WP_Post object. |