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

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