Hide Published text from custom post types column

WordPress has a filter for that..

function wpse406965_remove_status( $status, $post, $column_name, $mode ) {
    
    //Get the post type. Replace YOUR_CPT with your CPT slug.
    if ( $post->post_type == 'YOUR_CPT' ) {
        return false;
    }
    return $status;
}
add_filter( 'post_date_column_status', 'wpse406965_remove_status', 10, 4);

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)