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