Code Duplication    Length = 12-13 lines in 2 locations

admin_pages/venues/Venues_Admin_Page.core.php 1 location

@@ 519-531 (lines=13) @@
516
    }
517
518
519
    protected function _set_list_table_views_category_list()
520
    {
521
        $this->_views = array(
522
            'all' => array(
523
                'slug'        => 'all',
524
                'label'       => __('All', 'event_espresso'),
525
                'count'       => 0,
526
                'bulk_action' => array(
527
                    'delete_categories' => __('Delete Permanently', 'event_espresso'),
528
                ),
529
            ),
530
        );
531
    }
532
533
534
    protected function _overview_list_table()

admin_pages/events/Events_Admin_Page.core.php 1 location

@@ 644-655 (lines=12) @@
641
    /**
642
     * Populating the _views property for the category list table view.
643
     */
644
    protected function _set_list_table_views_category_list()
645
    {
646
        $this->_views = array(
647
            'all' => array(
648
                'slug'        => 'all',
649
                'label'       => esc_html__('All', 'event_espresso'),
650
                'count'       => 0,
651
                'bulk_action' => array(
652
                    'delete_categories' => esc_html__('Delete Permanently', 'event_espresso'),
653
                ),
654
            ),
655
        );
656
    }
657
658