Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
function vmf_post_date_column_time( $h_time, $post ) {
// If post is scheduled then add the time to the column output
if ($post-&gt;post_status == 'future') {
$h_time .= '<br>' . get_post_time( 'g:i a', false, $post );
}
// Return the column output
return $h_time;
}
add_filter ( 'post_date_column_time' , 'vmf_post_date_column_time' , 10 , 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.