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

@@ 2573-2578 (lines=6) @@
2570
    /**
2571
     * @throws EE_Error
2572
     */
2573
    protected function _category_list_table()
2574
    {
2575
        do_action('AHEE_log', __FILE__, __FUNCTION__, '');
2576
        $this->_search_btn_label = esc_html__('Categories', 'event_espresso');
2577
        $this->_admin_page_title .= ' ' . $this->get_action_link_or_button(
2578
            'add_category',
2579
            'add_category',
2580
            array(),
2581
            'add-new-h2'