Hiding by default specific post status on backend list?
It’s not clear what you’re looking for here, but you could try to use the posts_where filter: /** * Remove posts, with a given status, on the edit.php (post) screen, * when there’s no post status filter selected. */ add_action( ‘posts_where’, function( $where, $q ) { if( is_admin() && $q->is_main_query() && ! filter_input( INPUT_GET, ‘post_status’ … Read more