Code Duplication    Length = 6-11 lines in 2 locations

admin_pages/venues/Venues_Admin_Page.core.php 1 location

@@ 1304-1314 (lines=11) @@
1301
    }
1302
1303
1304
    protected function _category_list_table()
1305
    {
1306
        do_action('AHEE_log', __FILE__, __FUNCTION__, '');
1307
        $this->_admin_page_title .= ' ' . $this->get_action_link_or_button(
1308
            'add_category',
1309
            'add_category',
1310
            array(),
1311
            'add-new-h2'
1312
        );
1313
        $this->_search_btn_label = __('Venue Categories', 'event_espresso');
1314
        $this->display_admin_list_table_page_with_sidebar();
1315
    }
1316
1317

admin_pages/events/Events_Admin_Page.core.php 1 location

@@ 2601-2606 (lines=6) @@
2598
    /**
2599
     * @throws EE_Error
2600
     */
2601
    protected function _category_list_table()
2602
    {
2603
        do_action('AHEE_log', __FILE__, __FUNCTION__, '');
2604
        $this->_search_btn_label = esc_html__('Categories', 'event_espresso');
2605
        $this->_admin_page_title .= ' ' . $this->get_action_link_or_button(
2606
            'add_category',
2607
            'add_category',
2608
            array(),
2609
            'add-new-h2'