Code Duplication    Length = 19-20 lines in 2 locations

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

@@ 64-82 (lines=19) @@
61
62
endif;
63
64
if ( ! function_exists( 'lsx_tec_theme_wrapper_end' ) ) :
65
66
	/**
67
	 * The Events Calendar wrapper end.
68
	 *
69
	 * @package    lsx
70
	 * @subpackage the-events-calendar
71
	 */
72
	function lsx_tec_theme_wrapper_end() {
73
		lsx_content_bottom();
74
		echo '</main>';
75
		lsx_content_after();
76
		echo '</div>';
77
		lsx_content_wrap_after();
78
	}
79
80
	add_action( 'tribe_events_after_html', 'lsx_tec_theme_wrapper_end', 11 );
81
82
endif;
83
84
if ( ! function_exists( 'lsx_tec_global_header_title' ) ) :
85

includes/woocommerce/woocommerce.php 1 location

@@ 136-155 (lines=20) @@
133
134
endif;
135
136
if ( ! function_exists( 'lsx_wc_theme_wrapper_end' ) ) :
137
138
	/**
139
	 * WooCommerce wrapper end.
140
	 *
141
	 * @package    lsx
142
	 * @subpackage woocommerce
143
	 */
144
	function lsx_wc_theme_wrapper_end() {
145
		lsx_content_bottom();
146
		echo '</main>';
147
		lsx_content_after();
148
		echo '</div>';
149
		lsx_content_wrap_after();
150
	}
151
152
	remove_action( 'woocommerce_after_main_content', 'woocommerce_output_content_wrapper_end', 10 );
153
	add_action( 'woocommerce_after_main_content', 'lsx_wc_theme_wrapper_end' );
154
155
endif;
156
157
if ( ! function_exists( 'lsx_wc_disable_lsx_banner_plugin' ) ) :
158