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
1107            * Filters the status text of the post.
1108            *
1109            * @since 4.8.0
1110            *
1111            * @param string  $status      The status text.
1112            * @param WP_Post $post        Post object.
1113            * @param string  $column_name The column name.
1114            * @param string  $mode        The list display mode ('excerpt' or 'list').
1115            */
1116           $status = apply_filters( 'post_date_column_status', $status, $post, 'date', $mode );
1117
1118           if ( $status ) {
1119                echo $status . '<br />';
1120           }
1121
1122           /**
1123            * Filters the published time of the post.
1124            *
1125            * @since 2.5.1