57 | | return (array) get_user_option( 'manage' . $screen->id . 'columnshidden' ); |
| 58 | $hidden = get_user_option( 'manage' . $screen->id . 'columnshidden' ); |
| 59 | |
| 60 | if ( ! $hidden ) { |
| 61 | $hidden = array(); |
| 62 | |
| 63 | /** |
| 64 | * Filter the default list of hidden columns. |
| 65 | * |
| 66 | * @since 4.4.0 |
| 67 | * |
| 68 | * @param array $hidden An array of columns hidden by default. |
| 69 | * @param WP_Screen $screen WP_Screen object of the current screen. |
| 70 | */ |
| 71 | $hidden = apply_filters( 'default_hidden_columns', $hidden, $screen ); |
| 72 | } |
| 73 | |
| 74 | /** |
| 75 | * Filter the list of hidden columns. |
| 76 | * |
| 77 | * @since 4.4.0 |
| 78 | * |
| 79 | * @param array $hidden An array of hidden columns. |
| 80 | * @param WP_Screen $screen WP_Screen object of the current screen. |
| 81 | */ |
| 82 | return apply_filters( 'hidden_columns', $hidden, $screen ); |