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

@@ 2474-2479 (lines=6) @@
2471
    /**
2472
     * @throws EE_Error
2473
     */
2474
    protected function _category_list_table()
2475
    {
2476
        do_action('AHEE_log', __FILE__, __FUNCTION__, '');
2477
        $this->_search_btn_label = esc_html__('Categories', 'event_espresso');
2478
        $this->_admin_page_title .= ' ' . $this->get_action_link_or_button(
2479
            'add_category',
2480
            'add_category',
2481
            array(),
2482
            'add-new-h2'