Screen_Options::add_hooks()
Adds Screen Option hooks.
Source
File: src/Tickets/Admin/Tickets/Screen_Options.php
public function add_hooks() {
add_filter( 'manage_' . Page::$hook_suffix . '_columns', [ $this, 'filter_manage_columns' ] );
add_filter( 'screen_options_show_screen', [ $this, 'filter_screen_options_show_screen' ], 10, 2 );
add_filter( 'default_hidden_columns', [ $this, 'filter_default_hidden_columns' ], 10, 2 );
}
Changelog
| Version | Description |
|---|---|
| 5.14.0 | Introduced. |