diff --git a/includes/wc-template-functions.php b/includes/wc-template-functions.php
index 21fcc2d74e9..d11cc29e8e5 100644
--- a/includes/wc-template-functions.php
+++ b/includes/wc-template-functions.php
@@ -653,33 +653,45 @@ if ( ! function_exists( 'woocommerce_template_loop_category_title' ) ) {
';
-}
-/**
- * Insert the opening anchor tag for products in the loop.
- */
-function woocommerce_template_loop_product_link_close() {
- echo '';
+
+if ( ! function_exists( 'woocommerce_template_loop_product_link_open' ) ) {
+ /**
+ * Insert the opening anchor tag for products in the loop.
+ */
+ function woocommerce_template_loop_product_link_open() {
+ echo '';
+ }
}
-/**
- * Insert the opening anchor tag for categories in the loop.
- *
- * @param int|object|string $category Category ID, Object or String.
- */
-function woocommerce_template_loop_category_link_open( $category ) {
- echo '';
+if ( ! function_exists( 'woocommerce_template_loop_product_link_close' ) ) {
+ /**
+ * Insert the opening anchor tag for products in the loop.
+ */
+ function woocommerce_template_loop_product_link_close() {
+ echo '';
+ }
}
-/**
- * Insert the closing anchor tag for categories in the loop.
- */
-function woocommerce_template_loop_category_link_close() {
- echo '';
+
+if ( ! function_exists( 'woocommerce_template_loop_category_link_open' ) ) {
+ /**
+ * Insert the opening anchor tag for categories in the loop.
+ *
+ * @param int|object|string $category Category ID, Object or String.
+ */
+ function woocommerce_template_loop_category_link_open( $category ) {
+ echo '';
+ }
}
+
+if ( ! function_exists( 'woocommerce_template_loop_category_link_close' ) ) {
+ /**
+ * Insert the closing anchor tag for categories in the loop.
+ */
+ function woocommerce_template_loop_category_link_close() {
+ echo '';
+ }
+}
+
if ( ! function_exists( 'woocommerce_taxonomy_archive_description' ) ) {
/**