Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Quick Edit – Display Custom Column

function generatewp_quickedit_custom_column_display( $column_name, $post_id ) {
    if ( 'generatewp_edit_time' == $column_name ) {
        $time_recorded = get_post_meta( $post_id, 'generatewp_edit_time', true );
         
        if ( $time_recorded ) {
            echo esc_html( $time_recorded );
        } else {
            esc_html_e( 'N/A', 'generatewp' );
        }
    }
}
add_action( 'manage_post_posts_custom_column', 'generatewp_quickedit_custom_column_display', 10, 2 );