Code Duplication    Length = 6-7 lines in 4 locations

admin_pages/registration_form/Registration_Form_Admin_Page.core.php 1 location

@@ 77-83 (lines=7) @@
74
    }
75
76
77
    protected function _init_page_props()
78
    {
79
        $this->page_slug        = REGISTRATION_FORM_PG_SLUG;
80
        $this->page_label       = esc_html__('Registration Form', 'event_espresso');
81
        $this->_admin_base_url  = REGISTRATION_FORM_ADMIN_URL;
82
        $this->_admin_base_path = REGISTRATION_FORM_ADMIN;
83
    }
84
85
86
    protected function _ajax_hooks()

admin_pages/support/Support_Admin_Page.core.php 1 location

@@ 22-28 (lines=7) @@
19
20
21
22
    protected function _init_page_props()
23
    {
24
        $this->page_slug = EE_SUPPORT_PG_SLUG;
25
        $this->page_label = esc_html__('Help & Support', 'event_espresso');
26
        $this->_admin_base_url = EE_SUPPORT_ADMIN_URL;
27
        $this->_admin_base_path = EE_SUPPORT_ADMIN;
28
    }
29
30
31

admin_pages/transactions/Transactions_Admin_Page.core.php 1 location

@@ 74-80 (lines=7) @@
71
     *    _init_page_props
72
     * @return void
73
     */
74
    protected function _init_page_props()
75
    {
76
        $this->page_slug        = TXN_PG_SLUG;
77
        $this->page_label       = esc_html__('Transactions', 'event_espresso');
78
        $this->_admin_base_url  = TXN_ADMIN_URL;
79
        $this->_admin_base_path = TXN_ADMIN;
80
    }
81
82
83
    /**

admin_pages/about/About_Admin_Page.core.php 1 location

@@ 21-26 (lines=6) @@
18
class About_Admin_Page extends EE_Admin_Page {
19
20
21
	protected function _init_page_props() {
22
		$this->page_slug = EE_ABOUT_PG_SLUG;
23
		$this->page_label = esc_html__('About Event Espresso', 'event_espresso');
24
		$this->_admin_base_url = EE_ABOUT_ADMIN_URL;
25
		$this->_admin_base_path = EE_ABOUT_ADMIN;
26
	}
27
28
29