WordPress Admin Post Type Table Class Filter Hook

The function get_post_class() is used to generate these classes. You can filter post_class to change the output.

Example

is_admin() && add_filter( 'post_class', function( $classes, $class, $post_id ) {
    $post = get_post( $post_id );

    // Decide whether to add a class or not …

    $classes[] = 'my-custom-class';

    return $classes;    
}, 10, 3 );