Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: post_date_column_time

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

This hook occurs 2 times in this file.

Line Code
996                 * time and date together available as an abbreviation definition.
997                 *
998                 * @since 2.5.1
999                 *
1000                 * @param string  $t_time      The published time.
1001                 * @param WP_Post $post        Post object.
1002                 * @param string  $column_name The column name.
1003                 * @param string  $mode        The list display mode ('excerpt' or 'list').
1004                 */
1005                echo apply_filters( 'post_date_column_time', $t_time, $post, 'date', $mode );
1006           } else {
1007
1008                /** This filter is documented in wp-admin/includes/class-wp-posts-list-table.php */
1009                echo '<abbr title="' . $t_time . '">' . apply_filters( 'post_date_column_time', $h_time, $post, 'date', $mode ) . '</abbr>';
1010           }
1011      }
1012
1013      /**
1014       * Handles the comments column output.
1015       *
1016       * @since 4.3.0
1017       * @access public
1018       *