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);
Related Posts:
- Adding ‘menu order’ column to custom post type admin screen
- Style custom columns in admin panels (especially to adjust column cell widths)
- How do I set the default admin sort order for a custom post type to a custom column?
- Replacing the title in admin list table
- Make custom column sortable
- Custom sortable columns ordered by meta-value?
- Add “Last Edited by” column to custom post type list table
- How to add custom columns to Custom Post Type admin screen
- Column sorting with emtpy meta values
- manage posts custom column is not populating data from meta boxes
- Custom admin columns for ALL custom post types
- order of date column in custom post type
- Add custom column to custom post type overview in backend
- custom sortable column
- Custom Post Type, Two categories, Two columns with Pagination
- Replacing the title in admin list table
- Remove Post Page “View Post” Link
- How can I add columns to custom post tables
- Custom Post Types: Custom columns with Title submenu?
- How to show custom (checkbox) field value in admin post list?
- Adding menu_order to CPT admin page
- Custom post admin filtering by post meta (the date)
- Admin Column Text Positioning
- How do I sort a custom post type admin column using two meta keys?
- Add Post Url to Manage Edit Screen
- Problem adding column to WC Subscription [closed]
- how to check if custom post type column already exists?
- Adding HTML tags or css classes to admin columns
- Extending AZIndex plugin to use custom post types and custom taxonomies
- WP CPT Custom Sortable Column in Admin Dashboard Sort Order Random
- How to show first name and last name in custom post type columns
- Order a custom post type admin screen by a second custom post type title
- WordPress make Grandparent and great grandparent filterable in custom columns
- 4 column-loop ordered alphabetically with entries grouped (and labeled) by their first letter
- Custom columns doesn’t appear in custom post type
- How can I use this code on a custom database table?
- Problem with $post_id object’s property
- Pods CMS: How to add custom column to Adnvanced Content Type
- CPT Columns doesn’t show categories
- Getting post attchment URL to populate a CPT Admin Page Column
- Custom Columns for Custom Post Type Manager
- Make a custom column sortable by a value from a different custom post type
- Sorting custom post types in edit.php : Post disappear
- Custom sortable column with WPAlchemy
- Remove filter and view options from custom post type edit screen
- Sortable column with custom data by date
- Add Content Column to Custom Post Type backend
- custom filtering admin columns
- Custom sorting in post columns by ACF Pro Select Field
- Columns depending on posts count
- Making my custom column sortable
- Default custom column to off
- Change column of row action (Quick Edit) links in WP_List_Table
- Make custom post type column sortable
- Split custom post list into two columns
- How to get post content by calling ajax?
- How to properly turn off REVISIONS and AUTOSAVE for whole site and optionally for a custom post type only
- Order by & include array by specific post ids
- Restrict a Post Types Post Status
- WP_List_Table Inside Metabox Not Working on Submit
- wp_generate_attachment_metadata gives me an empty array
- Comparing timestamps in meta query doesn’t work
- Possible to add meta box to edit.php pages?
- Is there any performance consideration when using Custom Post Types?
- Conditionally Query Custom Post Types by Post Meta for Blog Home Page?
- flush_rewrite_rules on every register_post_type?
- Permalinks not working for custom taxonomy on custom post type
- Adding code to a post under a custom post type
- Custom Post Type Capabilities
- Custom Post Type And “fopen”
- custom types taxonomy hide_empty
- Show image gallery from a custom field
- How to rewrite url for any specific taxonomy?
- WordPress randomly shows 404 errors
- Associate multiple users to custom post type
- Order by custom field meta_key date and then by custom file meta_key number
- Error function query
- Is there a way to create two template for single custom post type page?
- display the posts of Custom Post type in custom category
- How to rewrite the post slug of a custom post type post
- Change amount of text displayed on homepage posts
- Getting List of child terms from custom taxonomy parent
- SQL query – get ids – Advanced Custom Fields / WPeC
- how to use custom post types collectively integrated with each other
- Custom taxonomy: on the taxonomy term page show other taxonomy terms
- Get next and prev item from custom WP_Query and Custom Post Type
- wp_set_object_terms creates taxonomies but does not add custom posts to it
- Make bootstrap 5.0 carousel dynamic using ACF and CPT UI [closed]
- Custom post categories are not displaying on the page
- Pagination Not Working When Used With WP_Query() `offset` Property
- How to create editable sections in wordpress?
- Adding categories to custom post type in permalink
- Get posts under custom taxonomy and custom post type
- Flush rewrite rules when new cpt is registred
- Custom field linking problem!
- Remove custom post type generated by a plugin (The Events Calendar) [closed]
- Show custom taxonomy not in submenu
- Custom Post Type and Custom Taxonomy not connected
- URL Rewrite Adjustment for Custom Post Type causes template to revert to index.php
- how to show Author post type count