Skip to content

Commit e6d4ab2

Browse files
turn into a plugin
1 parent 9a59d6d commit e6d4ab2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sample-code-snippets/premium/ecommerce/wpml-product-permalinks.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<?php
22

33
/**
4+
* Plugin Name: Fix WPML Product Permalink in Mailchimp products
5+
*
46
* This snippet sets the product permalink to its translated version when using WooCommerce + WPML
57
*
68
* See https://github.com/ibericode/mailchimp-for-wordpress/issues/775

0 commit comments

Comments
 (0)