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

@@ 628-639 (lines=12) @@
625
    /**
626
     * Populating the _views property for the category list table view.
627
     */
628
    protected function _set_list_table_views_category_list()
629
    {
630
        $this->_views = array(
631
            'all' => array(
632
                'slug'        => 'all',
633
                'label'       => esc_html__('All', 'event_espresso'),
634
                'count'       => 0,
635
                'bulk_action' => array(
636
                    'delete_categories' => esc_html__('Delete Permanently', 'event_espresso'),
637
                ),
638
            ),
639
        );
640
    }
641
642