Code Duplication    Length = 7-7 lines in 3 locations

includes/sensei/class-lsx-sensei.php 1 location

@@ 109-115 (lines=7) @@
106
		 * @package    lsx
107
		 * @subpackage sensei
108
		 */
109
		public function lsx_sensei_theme_wrapper_start() {
110
			lsx_content_wrap_before();
111
			echo '<div id="primary" class="content-area ' . esc_attr( lsx_main_class() ) . '">';
112
			lsx_content_before();
113
			echo '<main id="main" class="site-main" role="main">';
114
			lsx_content_top();
115
		}
116
117
		/**
118
		 * Sensei wrapper end.

includes/the-events-calendar/the-events-calendar.php 1 location

@@ 38-44 (lines=7) @@
35
	 * @package    lsx
36
	 * @subpackage the-events-calendar
37
	 */
38
	function lsx_tec_theme_wrapper_start() {
39
		lsx_content_wrap_before();
40
		echo '<div id="primary" class="content-area ' . esc_attr( lsx_main_class() ) . '">';
41
		lsx_content_before();
42
		echo '<main id="main" class="site-main" role="main">';
43
		lsx_content_top();
44
	}
45
46
	add_action( 'tribe_events_before_html', 'lsx_tec_theme_wrapper_start', 9 );
47

includes/woocommerce/woocommerce.php 1 location

@@ 78-84 (lines=7) @@
75
	 * @package    lsx
76
	 * @subpackage woocommerce
77
	 */
78
	function lsx_wc_theme_wrapper_start() {
79
		lsx_content_wrap_before();
80
		echo '<div id="primary" class="content-area ' . esc_attr( lsx_main_class() ) . '">';
81
		lsx_content_before();
82
		echo '<main id="main" class="site-main" role="main">';
83
		lsx_content_top();
84
	}
85
86
	remove_action( 'woocommerce_before_main_content', 'woocommerce_output_content_wrapper', 10 );
87
	add_action( 'woocommerce_before_main_content', 'lsx_wc_theme_wrapper_start' );