| @@ -25,9 +25,9 @@ | ||
| 25 | 25 | $this->register_post_type(); |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | private function add_actions() { |
| 29 | - add_filter( 'views_edit-' . self::CPT, [ $this, 'admin_print_tabs' ], 100 ); | |
| 29 | + add_filter( 'views_edit-' . self::CPT, [ $this, 'admin_print_tabs' ] ); | |
| 30 | 30 | add_action( 'in_admin_header', [ $this, 'in_admin_header' ] ); |
| 31 | 31 | if ( is_admin() ) { |
| 32 | 32 | // add_action( 'manage_posts_extra_tablenav', [ $this, 'extra_table_nav' ] ); |
| 33 | 33 | add_action( 'manage_' . self::CPT . '_posts_custom_column', [ $this, 'custom_column' ], 10, 2 ); |
| @@ -234,9 +234,8 @@ | ||
| 234 | 234 | ]; |
| 235 | 235 | } |
| 236 | 236 | |
| 237 | 237 | $this->builder::$views->get( 'builder/tabs', [ 'tabs' => $tabs, 'template_types' => $template_types ] ); |
| 238 | - return []; | |
| 239 | 238 | } |
| 240 | 239 | |
| 241 | 240 | /** |
| 242 | 241 | * Retrieves items. |