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

Line Code
1126            * @since 5.5.0 Removed the difference between 'excerpt' and 'list' modes.
1127            *              The published time and date are both displayed now,
1128            *              which is equivalent to the previous 'excerpt' mode.
1129            *
1130            * @param string  $t_time      The published time.
1131            * @param WP_Post $post        Post object.
1132            * @param string  $column_name The column name.
1133            * @param string  $mode        The list display mode ('excerpt' or 'list').
1134            */
1135           echo apply_filters( 'post_date_column_time', $t_time, $post, 'date', $mode );
1136      }
1137
1138      /**
1139       * Handles the comments column output.
1140       *
1141       * @since 4.3.0
1142       *
1143       * @param WP_Post $post The current WP_Post object.
1144       */