Skip to content

Commit c2576e7

Browse files
committed
hide the columns with the right filter
1 parent 91c5a32 commit c2576e7

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

admin/class-meta-columns.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function setup_hooks() {
8989
}
9090

9191
add_filter( 'request', [ $this, 'column_sort_orderby' ] );
92-
add_filter( 'default_hidden_columns', [ $this, 'column_hidden' ], 10, 1 );
92+
add_filter( 'hidden_columns', [ $this, 'column_hidden' ], 10, 1 );
9393
}
9494

9595
/**

css/src/edit-page.css

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)