Created
April 3, 2020 05:38
-
-
Save ichaykin/82f54d5edb488e83e965b64a243c3650 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/addons/google_sitemap/func.php b/app/addons/google_sitemap/func.php | |
index cc54b10..769b10e 100644 | |
--- a/app/addons/google_sitemap/func.php | |
+++ b/app/addons/google_sitemap/func.php | |
@@ -74,8 +74,9 @@ function fn_google_sitemap_generate_link($type, $id, $languages, $extra = [], $s | |
* @param string[] $languages List of languages to generate the sitemap for | |
* @param array $extra Additional link parameters | |
* @param int $storefront_id Storefront idenfitier to generate the sitemap for | |
+ * @param string $link Entry link | |
*/ | |
- fn_set_hook('google_sitemap_generate_link_get_object_link', $type, $id, $languages, $extra, $storefront_id); | |
+ fn_set_hook('google_sitemap_generate_link_get_object_link', $type, $id, $languages, $extra, $storefront_id, $link); | |
} | |
$links = array(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment