Code Duplication    Length = 19-20 lines in 2 locations

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

@@ 50-68 (lines=19) @@
47
48
endif;
49
50
if ( ! function_exists( 'lsx_tec_theme_wrapper_end' ) ) :
51
52
	/**
53
	 * The Events Calendar wrapper end.
54
	 *
55
	 * @package    lsx
56
	 * @subpackage the-events-calendar
57
	 */
58
	function lsx_tec_theme_wrapper_end() {
59
		lsx_content_bottom();
60
		echo '</main>';
61
		lsx_content_after();
62
		echo '</div>';
63
		lsx_content_wrap_after();
64
	}
65
66
	add_action( 'tribe_events_after_html', 'lsx_tec_theme_wrapper_end', 11 );
67
68
endif;
69
70
if ( ! function_exists( 'lsx_tec_global_header_title' ) ) :
71

includes/woocommerce/woocommerce.php 1 location

@@ 91-110 (lines=20) @@
88
89
endif;
90
91
if ( ! function_exists( 'lsx_wc_theme_wrapper_end' ) ) :
92
93
	/**
94
	 * WooCommerce wrapper end.
95
	 *
96
	 * @package    lsx
97
	 * @subpackage woocommerce
98
	 */
99
	function lsx_wc_theme_wrapper_end() {
100
		lsx_content_bottom();
101
		echo '</main>';
102
		lsx_content_after();
103
		echo '</div>';
104
		lsx_content_wrap_after();
105
	}
106
107
	remove_action( 'woocommerce_after_main_content', 'woocommerce_output_content_wrapper_end', 10 );
108
	add_action( 'woocommerce_after_main_content', 'lsx_wc_theme_wrapper_end' );
109
110
endif;
111
112
if ( ! function_exists( 'lsx_wc_disable_lsx_banner_plugin' ) ) :
113