Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: post_date_column_status

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
1086            * Filters the status text of the post.
1087            *
1088            * @since 4.8.0
1089            *
1090            * @param string  $status      The status text.
1091            * @param WP_Post $post        Post object.
1092            * @param string  $column_name The column name.
1093            * @param string  $mode        The list display mode ('excerpt' or 'list').
1094            */
1095           $status = apply_filters( 'post_date_column_status', $status, $post, 'date', $mode );
1096
1097           if ( $status ) {
1098                echo $status . '<br />';
1099           }
1100
1101           if ( 'excerpt' === $mode ) {
1102                /**
1103                 * Filters the published time of the post.
1104                 *