Code Duplication    Length = 19-20 lines in 2 locations

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

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