diff --git a/.wp-env.json b/.wp-env.json
index 1931f6caf1..fa2c3d1a99 100644
--- a/.wp-env.json
+++ b/.wp-env.json
@@ -1,15 +1,15 @@
{
- "phpVersion": "8.0",
- "plugins": [
+ "phpVersion": "8.0",
+ "plugins": [
"https://github.com/WP-API/Basic-Auth/archive/master.zip",
- "."
- ],
- "mappings": {
- "wp-cli.yml": "./tests/e2e/config/wp-cli.yml",
- "wp-content/plugins/test-data.php": "./tests/e2e/bin/test-data.php"
- },
+ "./tests/e2e/test-data",
+ "."
+ ],
+ "mappings": {
+ "wp-cli.yml": "./tests/e2e/config/wp-cli.yml"
+ },
"lifecycleScripts": {
- "afterStart": "./tests/e2e/bin/test-env-setup.sh",
- "afterClean": "./tests/e2e/bin/test-env-setup.sh"
- }
+ "afterStart": "./tests/e2e/bin/test-env-setup.sh",
+ "afterClean": "./tests/e2e/bin/test-env-setup.sh"
+ }
}
diff --git a/README.md b/README.md
index 432bc1f8c6..caedd54643 100644
--- a/README.md
+++ b/README.md
@@ -184,6 +184,7 @@ npm run -- wp-env run tests-cli -- wp wc update
- [Usage Tracking](./src/Tracking/README.md)
- [Hooks defined or used in GLA](./src/Hooks/README.md)
+- [gtag consent mode](./docs/gtag-consent-mode.md)
diff --git a/changelog.txt b/changelog.txt
index bf4fa91984..9d3519b6f8 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -1,5 +1,12 @@
*** WooCommerce Google Listings and Ads Changelog ***
+= 2.6.1 - 2024-03-05 =
+* Add - Consider `ga_gtag_enabled=yes` for WCGAI >= 2.
+* Add - Google Analytics consent mode support.
+* Add - Support for Google Analytics for WooCommerce version 2.0.0 and above.
+* Dev - Avoid the test-data plugin occasionally missing in the E2E test environment.
+* Fix - Improve WordPress.com account handling.
+
= 2.6.0 - 2024-02-27 =
* Add - Support the new product editor (Product Block Editor).
* Dev - Fix the compatibility issue in starting E2E test environment due to the default charset change in MariaDB v11.3.1.
diff --git a/composer.json b/composer.json
index e53b914e5f..633ee8fdab 100644
--- a/composer.json
+++ b/composer.json
@@ -7,9 +7,9 @@
"require": {
"php": ">=7.4",
"ext-json": "*",
- "automattic/jetpack-autoloader": "^2.4",
- "automattic/jetpack-config": "^1.4",
- "automattic/jetpack-connection": "^1.40",
+ "automattic/jetpack-autoloader": "^3.0",
+ "automattic/jetpack-config": "^2.0",
+ "automattic/jetpack-connection": "^2.3",
"google/apiclient": "^2.15",
"google/apiclient-services": "~0.312",
"googleads/google-ads-php": "^19.2",
diff --git a/composer.lock b/composer.lock
index a8f703d123..9da44f50bf 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,24 +4,27 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "44d590a9ed062f32ccca8e0708ef9350",
+ "content-hash": "f5d792942004e9483018be005ffee7e9",
"packages": [
{
"name": "automattic/jetpack-a8c-mc-stats",
- "version": "v1.4.22",
+ "version": "v2.0.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-a8c-mc-stats.git",
- "reference": "d7fdf2fc7ae33d75e24e82d81269e33ec718446f"
+ "reference": "6ce7a1e1eba796643d7d32dc49057c7bb8e3233c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-a8c-mc-stats/zipball/d7fdf2fc7ae33d75e24e82d81269e33ec718446f",
- "reference": "d7fdf2fc7ae33d75e24e82d81269e33ec718446f",
+ "url": "https://api.github.com/repos/Automattic/jetpack-a8c-mc-stats/zipball/6ce7a1e1eba796643d7d32dc49057c7bb8e3233c",
+ "reference": "6ce7a1e1eba796643d7d32dc49057c7bb8e3233c",
"shasum": ""
},
+ "require": {
+ "php": ">=7.0"
+ },
"require-dev": {
- "automattic/jetpack-changelogger": "^3.3.9",
+ "automattic/jetpack-changelogger": "^4.0.0",
"yoast/phpunit-polyfills": "1.1.0"
},
"suggest": {
@@ -35,7 +38,7 @@
"link-template": "https://github.com/Automattic/jetpack-a8c-mc-stats/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-trunk": "1.4.x-dev"
+ "dev-trunk": "2.0.x-dev"
}
},
"autoload": {
@@ -49,27 +52,30 @@
],
"description": "Used to record internal usage stats for Automattic. Not visible to site owners.",
"support": {
- "source": "https://github.com/Automattic/jetpack-a8c-mc-stats/tree/v1.4.22"
+ "source": "https://github.com/Automattic/jetpack-a8c-mc-stats/tree/v2.0.0"
},
- "time": "2023-09-19T18:18:33+00:00"
+ "time": "2023-11-20T20:02:34+00:00"
},
{
"name": "automattic/jetpack-admin-ui",
- "version": "v0.2.24",
+ "version": "v0.3.2",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-admin-ui.git",
- "reference": "334858057237be51aa916352c7573fc4c06bbd6c"
+ "reference": "22c381953ce293529202cda959218d6256a3ef7c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-admin-ui/zipball/334858057237be51aa916352c7573fc4c06bbd6c",
- "reference": "334858057237be51aa916352c7573fc4c06bbd6c",
+ "url": "https://api.github.com/repos/Automattic/jetpack-admin-ui/zipball/22c381953ce293529202cda959218d6256a3ef7c",
+ "reference": "22c381953ce293529202cda959218d6256a3ef7c",
"shasum": ""
},
+ "require": {
+ "php": ">=7.0"
+ },
"require-dev": {
- "automattic/jetpack-changelogger": "^3.3.11",
- "automattic/jetpack-logo": "^1.6.3",
+ "automattic/jetpack-changelogger": "^4.1.0",
+ "automattic/jetpack-logo": "^2.0.0",
"automattic/wordbless": "dev-master",
"yoast/phpunit-polyfills": "1.1.0"
},
@@ -85,7 +91,7 @@
"link-template": "https://github.com/Automattic/jetpack-admin-ui/compare/${old}...${new}"
},
"branch-alias": {
- "dev-trunk": "0.2.x-dev"
+ "dev-trunk": "0.3.x-dev"
},
"version-constants": {
"::PACKAGE_VERSION": "src/class-admin-menu.php"
@@ -102,29 +108,30 @@
],
"description": "Generic Jetpack wp-admin UI elements",
"support": {
- "source": "https://github.com/Automattic/jetpack-admin-ui/tree/v0.2.24"
+ "source": "https://github.com/Automattic/jetpack-admin-ui/tree/v0.3.2"
},
- "time": "2023-10-30T08:37:02+00:00"
+ "time": "2024-01-29T19:37:58+00:00"
},
{
"name": "automattic/jetpack-autoloader",
- "version": "v2.12.0",
+ "version": "v3.0.2",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-autoloader.git",
- "reference": "632b69cfc73ed5505f2b03165e7f68d414d0da12"
+ "reference": "bbf43988d1538a9f2678809b0868dc42111d0b12"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-autoloader/zipball/632b69cfc73ed5505f2b03165e7f68d414d0da12",
- "reference": "632b69cfc73ed5505f2b03165e7f68d414d0da12",
+ "url": "https://api.github.com/repos/Automattic/jetpack-autoloader/zipball/bbf43988d1538a9f2678809b0868dc42111d0b12",
+ "reference": "bbf43988d1538a9f2678809b0868dc42111d0b12",
"shasum": ""
},
"require": {
- "composer-plugin-api": "^1.1 || ^2.0"
+ "composer-plugin-api": "^1.1 || ^2.0",
+ "php": ">=7.0"
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.3.11",
+ "automattic/jetpack-changelogger": "^4.0.2",
"yoast/phpunit-polyfills": "1.1.0"
},
"type": "composer-plugin",
@@ -139,7 +146,7 @@
"::VERSION": "src/AutoloadGenerator.php"
},
"branch-alias": {
- "dev-trunk": "2.12.x-dev"
+ "dev-trunk": "3.0.x-dev"
}
},
"autoload": {
@@ -164,26 +171,29 @@
"wordpress"
],
"support": {
- "source": "https://github.com/Automattic/jetpack-autoloader/tree/v2.12.0"
+ "source": "https://github.com/Automattic/jetpack-autoloader/tree/v3.0.2"
},
- "time": "2023-09-28T18:33:34+00:00"
+ "time": "2023-11-21T18:59:10+00:00"
},
{
"name": "automattic/jetpack-config",
- "version": "v1.15.4",
+ "version": "v2.0.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-config.git",
- "reference": "6cf8d61a972530322c9b62f7375fff83342c38f9"
+ "reference": "1e34ef5f598abc1e5ee9100aa5a1a1f51b62681d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-config/zipball/6cf8d61a972530322c9b62f7375fff83342c38f9",
- "reference": "6cf8d61a972530322c9b62f7375fff83342c38f9",
+ "url": "https://api.github.com/repos/Automattic/jetpack-config/zipball/1e34ef5f598abc1e5ee9100aa5a1a1f51b62681d",
+ "reference": "1e34ef5f598abc1e5ee9100aa5a1a1f51b62681d",
"shasum": ""
},
+ "require": {
+ "php": ">=7.0"
+ },
"require-dev": {
- "automattic/jetpack-changelogger": "^3.3.9"
+ "automattic/jetpack-changelogger": "^4.0.0"
},
"suggest": {
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
@@ -197,7 +207,7 @@
"link-template": "https://github.com/Automattic/jetpack-config/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-trunk": "1.15.x-dev"
+ "dev-trunk": "2.0.x-dev"
}
},
"autoload": {
@@ -211,34 +221,35 @@
],
"description": "Jetpack configuration package that initializes other packages and configures Jetpack's functionality. Can be used as a base for all variants of Jetpack package usage.",
"support": {
- "source": "https://github.com/Automattic/jetpack-config/tree/v1.15.4"
+ "source": "https://github.com/Automattic/jetpack-config/tree/v2.0.0"
},
- "time": "2023-09-19T18:18:30+00:00"
+ "time": "2023-11-20T20:02:25+00:00"
},
{
"name": "automattic/jetpack-connection",
- "version": "v1.59.0",
+ "version": "v2.3.2",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-connection.git",
- "reference": "eb55a554fe9cbb0d0b7ade54ea6ff965a508b05e"
+ "reference": "0d43e67354dfd6f39a0b1cbb070ba24a64377f41"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-connection/zipball/eb55a554fe9cbb0d0b7ade54ea6ff965a508b05e",
- "reference": "eb55a554fe9cbb0d0b7ade54ea6ff965a508b05e",
+ "url": "https://api.github.com/repos/Automattic/jetpack-connection/zipball/0d43e67354dfd6f39a0b1cbb070ba24a64377f41",
+ "reference": "0d43e67354dfd6f39a0b1cbb070ba24a64377f41",
"shasum": ""
},
"require": {
- "automattic/jetpack-a8c-mc-stats": "^1.4.22",
- "automattic/jetpack-admin-ui": "^0.2.24",
- "automattic/jetpack-constants": "^1.6.23",
- "automattic/jetpack-redirect": "^1.7.27",
- "automattic/jetpack-roles": "^1.4.25",
- "automattic/jetpack-status": "^1.18.5"
+ "automattic/jetpack-a8c-mc-stats": "^2.0.0",
+ "automattic/jetpack-admin-ui": "^0.3.2",
+ "automattic/jetpack-constants": "^2.0.0",
+ "automattic/jetpack-redirect": "^2.0.0",
+ "automattic/jetpack-roles": "^2.0.0",
+ "automattic/jetpack-status": "^2.1.0",
+ "php": ">=7.0"
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.3.11",
+ "automattic/jetpack-changelogger": "^4.1.0",
"automattic/wordbless": "@dev",
"brain/monkey": "2.6.1",
"yoast/phpunit-polyfills": "1.1.0"
@@ -258,7 +269,7 @@
"link-template": "https://github.com/Automattic/jetpack-connection/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-trunk": "1.59.x-dev"
+ "dev-trunk": "2.3.x-dev"
}
},
"autoload": {
@@ -274,26 +285,29 @@
],
"description": "Everything needed to connect to the Jetpack infrastructure",
"support": {
- "source": "https://github.com/Automattic/jetpack-connection/tree/v1.59.0"
+ "source": "https://github.com/Automattic/jetpack-connection/tree/v2.3.2"
},
- "time": "2023-11-08T09:11:43+00:00"
+ "time": "2024-02-26T17:42:33+00:00"
},
{
"name": "automattic/jetpack-constants",
- "version": "v1.6.23",
+ "version": "v2.0.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-constants.git",
- "reference": "0825fb1fa94956f26adebc01be0d716a0fd3ade0"
+ "reference": "d4244e33d2d18902951af05ca5dbb689a23c9cdc"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-constants/zipball/0825fb1fa94956f26adebc01be0d716a0fd3ade0",
- "reference": "0825fb1fa94956f26adebc01be0d716a0fd3ade0",
+ "url": "https://api.github.com/repos/Automattic/jetpack-constants/zipball/d4244e33d2d18902951af05ca5dbb689a23c9cdc",
+ "reference": "d4244e33d2d18902951af05ca5dbb689a23c9cdc",
"shasum": ""
},
+ "require": {
+ "php": ">=7.0"
+ },
"require-dev": {
- "automattic/jetpack-changelogger": "^3.3.8",
+ "automattic/jetpack-changelogger": "^4.0.0",
"brain/monkey": "2.6.1",
"yoast/phpunit-polyfills": "1.1.0"
},
@@ -308,7 +322,7 @@
"link-template": "https://github.com/Automattic/jetpack-constants/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-trunk": "1.6.x-dev"
+ "dev-trunk": "2.0.x-dev"
}
},
"autoload": {
@@ -322,29 +336,30 @@
],
"description": "A wrapper for defining constants in a more testable way.",
"support": {
- "source": "https://github.com/Automattic/jetpack-constants/tree/v1.6.23"
+ "source": "https://github.com/Automattic/jetpack-constants/tree/v2.0.0"
},
- "time": "2023-08-23T17:56:35+00:00"
+ "time": "2023-11-20T20:02:28+00:00"
},
{
"name": "automattic/jetpack-redirect",
- "version": "v1.7.27",
+ "version": "v2.0.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-redirect.git",
- "reference": "43dd3ae2bef71281fe70f62733bfaa44c988f1b1"
+ "reference": "8f1bbfd4b046b8a0ae7b156007c2ef56a0ddbf76"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-redirect/zipball/43dd3ae2bef71281fe70f62733bfaa44c988f1b1",
- "reference": "43dd3ae2bef71281fe70f62733bfaa44c988f1b1",
+ "url": "https://api.github.com/repos/Automattic/jetpack-redirect/zipball/8f1bbfd4b046b8a0ae7b156007c2ef56a0ddbf76",
+ "reference": "8f1bbfd4b046b8a0ae7b156007c2ef56a0ddbf76",
"shasum": ""
},
"require": {
- "automattic/jetpack-status": "^1.18.4"
+ "automattic/jetpack-status": "^2.0.0",
+ "php": ">=7.0"
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.3.9",
+ "automattic/jetpack-changelogger": "^4.0.0",
"brain/monkey": "2.6.1",
"yoast/phpunit-polyfills": "1.1.0"
},
@@ -359,7 +374,7 @@
"link-template": "https://github.com/Automattic/jetpack-redirect/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-trunk": "1.7.x-dev"
+ "dev-trunk": "2.0.x-dev"
}
},
"autoload": {
@@ -373,26 +388,29 @@
],
"description": "Utilities to build URLs to the jetpack.com/redirect/ service",
"support": {
- "source": "https://github.com/Automattic/jetpack-redirect/tree/v1.7.27"
+ "source": "https://github.com/Automattic/jetpack-redirect/tree/v2.0.0"
},
- "time": "2023-09-19T18:19:22+00:00"
+ "time": "2023-11-20T20:03:01+00:00"
},
{
"name": "automattic/jetpack-roles",
- "version": "v1.4.25",
+ "version": "v2.0.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-roles.git",
- "reference": "708b33f16a879fc2ab5939a972c968c9aeefbe38"
+ "reference": "967e52052a17123a23f4112da3d8e7e995467cb2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-roles/zipball/708b33f16a879fc2ab5939a972c968c9aeefbe38",
- "reference": "708b33f16a879fc2ab5939a972c968c9aeefbe38",
+ "url": "https://api.github.com/repos/Automattic/jetpack-roles/zipball/967e52052a17123a23f4112da3d8e7e995467cb2",
+ "reference": "967e52052a17123a23f4112da3d8e7e995467cb2",
"shasum": ""
},
+ "require": {
+ "php": ">=7.0"
+ },
"require-dev": {
- "automattic/jetpack-changelogger": "^3.3.9",
+ "automattic/jetpack-changelogger": "^4.0.0",
"brain/monkey": "2.6.1",
"yoast/phpunit-polyfills": "1.1.0"
},
@@ -407,7 +425,7 @@
"link-template": "https://github.com/Automattic/jetpack-roles/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-trunk": "1.4.x-dev"
+ "dev-trunk": "2.0.x-dev"
}
},
"autoload": {
@@ -421,30 +439,31 @@
],
"description": "Utilities, related with user roles and capabilities.",
"support": {
- "source": "https://github.com/Automattic/jetpack-roles/tree/v1.4.25"
+ "source": "https://github.com/Automattic/jetpack-roles/tree/v2.0.0"
},
- "time": "2023-09-19T18:18:38+00:00"
+ "time": "2023-11-20T20:02:32+00:00"
},
{
"name": "automattic/jetpack-status",
- "version": "v1.18.5",
+ "version": "v2.1.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-status.git",
- "reference": "fe08772e2005b8cd78ec5e0d416b73a04ae57c10"
+ "reference": "badaae2ef5345629f5333938e32a649bf946d688"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-status/zipball/fe08772e2005b8cd78ec5e0d416b73a04ae57c10",
- "reference": "fe08772e2005b8cd78ec5e0d416b73a04ae57c10",
+ "url": "https://api.github.com/repos/Automattic/jetpack-status/zipball/badaae2ef5345629f5333938e32a649bf946d688",
+ "reference": "badaae2ef5345629f5333938e32a649bf946d688",
"shasum": ""
},
"require": {
- "automattic/jetpack-constants": "^1.6.23"
+ "automattic/jetpack-constants": "^2.0.0",
+ "php": ">=7.0"
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.3.10",
- "automattic/jetpack-ip": "^0.1.6",
+ "automattic/jetpack-changelogger": "^4.0.5",
+ "automattic/jetpack-ip": "^0.2.1",
"brain/monkey": "2.6.1",
"yoast/phpunit-polyfills": "1.1.0"
},
@@ -459,7 +478,7 @@
"link-template": "https://github.com/Automattic/jetpack-status/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-trunk": "1.18.x-dev"
+ "dev-trunk": "2.1.x-dev"
}
},
"autoload": {
@@ -473,9 +492,9 @@
],
"description": "Used to retrieve information about the current status of Jetpack and the site overall.",
"support": {
- "source": "https://github.com/Automattic/jetpack-status/tree/v1.18.5"
+ "source": "https://github.com/Automattic/jetpack-status/tree/v2.1.0"
},
- "time": "2023-09-25T19:07:29+00:00"
+ "time": "2024-01-18T21:49:55+00:00"
},
{
"name": "firebase/php-jwt",
@@ -5689,5 +5708,5 @@
"platform-overrides": {
"php": "7.4.30"
},
- "plugin-api-version": "2.3.0"
+ "plugin-api-version": "2.6.0"
}
diff --git a/docs/gtag-consent-mode.md b/docs/gtag-consent-mode.md
new file mode 100644
index 0000000000..8f819fe66f
--- /dev/null
+++ b/docs/gtag-consent-mode.md
@@ -0,0 +1,9 @@
+## Googla Analytics (gtag) Consent Mode
+
+Unless you're running the [Google Analytics for WooCommerce](https://woo.com/products/woocommerce-google-analytics/) extension for a more sophisticated configuration, Google Listings and Ads will add Google's `gtag` to help you track some customer behavior.
+
+To respect your customers' privacy, we set up the default state of [consent mode](https://support.google.com/analytics/answer/9976101). We set it to deny all the parameters for visitors from the EEA region. You can add an extension or CMP that delivers a banner or any other UI to let visitors update their consent in runtime.
+
+You can also customize your own default state configuration using the `woocommerce_gla_gtag_consent` filter providing any snippet that uses [Google's `gtag('consent', 'default', {…})` API ](https://developers.google.com/tag-platform/security/guides/consent?consentmode=advanced).
+
+After the page loads, the consent for particular parameters can be updated by other plugins or custom code implementing UI for customer-facing configuration using [Google's consent API](https://developers.google.com/tag-platform/security/guides/consent?hl=en&consentmode=advanced#update-consent) (`gtag('consent', 'update', {…})`).
diff --git a/google-listings-and-ads.php b/google-listings-and-ads.php
index 51f10dcba1..1b5f51f013 100644
--- a/google-listings-and-ads.php
+++ b/google-listings-and-ads.php
@@ -3,7 +3,7 @@
* Plugin Name: Google Listings and Ads
* Plugin URL: https://wordpress.org/plugins/google-listings-and-ads/
* Description: Native integration with Google that allows merchants to easily display their products across Google’s network.
- * Version: 2.6.0
+ * Version: 2.6.1
* Author: WooCommerce
* Author URI: https://woo.com/
* Text Domain: google-listings-and-ads
@@ -30,7 +30,7 @@
defined( 'ABSPATH' ) || exit;
-define( 'WC_GLA_VERSION', '2.6.0' ); // WRCS: DEFINED_VERSION.
+define( 'WC_GLA_VERSION', '2.6.1' ); // WRCS: DEFINED_VERSION.
define( 'WC_GLA_MIN_PHP_VER', '7.4' );
define( 'WC_GLA_MIN_WC_VER', '6.9' );
diff --git a/package-lock.json b/package-lock.json
index db4f4fce00..83024c40a3 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "google-listings-and-ads",
- "version": "2.6.0",
+ "version": "2.6.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
diff --git a/package.json b/package.json
index 868c3cd0ac..2bfab7d68a 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "google-listings-and-ads",
"title": "Google Listings and Ads",
- "version": "2.6.0",
+ "version": "2.6.1",
"description": "google-listings-and-ads",
"author": "Automattic",
"license": "GPL-3.0-or-later",
diff --git a/readme.txt b/readme.txt
index d8279c0379..806fe3ad0a 100644
--- a/readme.txt
+++ b/readme.txt
@@ -5,7 +5,7 @@ Requires at least: 5.9
Tested up to: 6.4
Requires PHP: 7.4
Requires PHP Architecture: 64 Bits
-Stable tag: 2.6.0
+Stable tag: 2.6.1
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
@@ -111,6 +111,13 @@ Yes, you can run both at the same time, and we recommend it! In the US, advertis
== Changelog ==
+= 2.6.1 - 2024-03-05 =
+* Add - Consider `ga_gtag_enabled=yes` for WCGAI >= 2.
+* Add - Google Analytics consent mode support.
+* Add - Support for Google Analytics for WooCommerce version 2.0.0 and above.
+* Dev - Avoid the test-data plugin occasionally missing in the E2E test environment.
+* Fix - Improve WordPress.com account handling.
+
= 2.6.0 - 2024-02-27 =
* Add - Support the new product editor (Product Block Editor).
* Dev - Fix the compatibility issue in starting E2E test environment due to the default charset change in MariaDB v11.3.1.
@@ -119,11 +126,4 @@ Yes, you can run both at the same time, and we recommend it! In the US, advertis
= 2.5.18 - 2024-02-20 =
* Fix - Prevent product queries by IDs if no arguments are supplied.
-= 2.5.17 - 2024-02-07 =
-* Dev - Add manual QIT workflow.
-* Dev - Upload coverage report for JS unit tests to codecov.
-* Fix - Only sync selected categories as product type.
-* Fix - Prevent notifications from sending request to Google API when disconnected.
-* Tweak - WC 8.6 compatibility.
-
[See changelog for all versions](https://raw.githubusercontent.com/woocommerce/google-listings-and-ads/trunk/changelog.txt).
diff --git a/src/API/Google/Middleware.php b/src/API/Google/Middleware.php
index 9ddea15127..d467505def 100644
--- a/src/API/Google/Middleware.php
+++ b/src/API/Google/Middleware.php
@@ -450,7 +450,9 @@ public function mark_tos_accepted( string $service, string $email ): TosAccepted
);
} catch ( ClientExceptionInterface $e ) {
do_action( 'woocommerce_gla_guzzle_client_exception', $e, __METHOD__ );
-
+ return new TosAccepted( false, $e->getMessage() );
+ } catch ( Exception $e ) {
+ do_action( 'woocommerce_gla_exception', $e, __METHOD__ );
return new TosAccepted( false, $e->getMessage() );
}
}
diff --git a/src/API/Site/Controllers/Jetpack/AccountController.php b/src/API/Site/Controllers/Jetpack/AccountController.php
index 689a574567..260e4dd457 100644
--- a/src/API/Site/Controllers/Jetpack/AccountController.php
+++ b/src/API/Site/Controllers/Jetpack/AccountController.php
@@ -31,6 +31,13 @@ class AccountController extends BaseOptionsController {
*/
protected $middleware;
+ /**
+ * Retain the connected state to prevent multiple external calls to validate the token.
+ *
+ * @var bool
+ */
+ private $jetpack_connected_state;
+
/**
* Mapping between the client page name and its path.
* The first value is also used as a default,
@@ -97,19 +104,21 @@ public function register_routes(): void {
*/
protected function get_connect_callback(): callable {
return function ( Request $request ) {
- // Register the site to wp.com.
- if ( ! $this->manager->is_connected() ) {
+ // Register the site to WPCOM.
+ if ( $this->manager->is_connected() ) {
+ $result = $this->manager->reconnect();
+ } else {
$result = $this->manager->register();
+ }
- if ( is_wp_error( $result ) ) {
- return new Response(
- [
- 'status' => 'error',
- 'message' => $result->get_error_message(),
- ],
- 400
- );
- }
+ if ( is_wp_error( $result ) ) {
+ return new Response(
+ [
+ 'status' => 'error',
+ 'message' => $result->get_error_message(),
+ ],
+ 400
+ );
}
// Get an authorization URL which will redirect back to our page.
@@ -173,6 +182,9 @@ protected function get_connected_callback(): callable {
$this->log_wp_tos_accepted();
}
+ // Update connection status.
+ $this->options->update( OptionsInterface::JETPACK_CONNECTED, $this->is_jetpack_connected() );
+
$user_data = $this->get_jetpack_user_data();
return [
'active' => $this->display_boolean( $this->is_jetpack_connected() ),
@@ -190,11 +202,18 @@ protected function get_connected_callback(): callable {
* @return bool
*/
protected function is_jetpack_connected(): bool {
- if ( ! $this->manager->has_connected_owner() ) {
+ if ( null !== $this->jetpack_connected_state ) {
+ return $this->jetpack_connected_state;
+ }
+
+ if ( ! $this->manager->has_connected_owner() || ! $this->manager->is_connected() ) {
+ $this->jetpack_connected_state = false;
return false;
}
- return false !== $this->manager->get_tokens()->get_access_token();
+ // Send an external request to validate the token.
+ $this->jetpack_connected_state = $this->manager->get_tokens()->validate_blog_token();
+ return $this->jetpack_connected_state;
}
/**
diff --git a/src/ConnectionTest.php b/src/ConnectionTest.php
index 4079495e70..4172a20b7a 100644
--- a/src/ConnectionTest.php
+++ b/src/ConnectionTest.php
@@ -112,6 +112,8 @@ function() {
* Render the admin page.
*/
protected function render_admin_page() {
+ /** @var OptionsInterface $options */
+ $options = $this->container->get( OptionsInterface::class );
/** @var Manager $manager */
$manager = $this->container->get( Manager::class );
$blog_token = $manager->get_tokens()->get_access_token();
@@ -172,11 +174,22 @@ protected function render_admin_page() {
+
+
+ Test Authenticated WCS Request: |
+
+
+ Test Authenticated Request
+
+ |
+
+
+
- Jetpack
+ WordPress.com
@@ -641,14 +652,16 @@ protected function handle_actions() {
$manager = $this->container->get( Manager::class );
if ( 'connect' === $_GET['action'] && check_admin_referer( 'connect' ) ) {
- // Register the site to wp.com.
- if ( ! $manager->is_connected() ) {
+ // Register the site to WPCOM.
+ if ( $manager->is_connected() ) {
+ $result = $manager->reconnect();
+ } else {
$result = $manager->register();
+ }
- if ( is_wp_error( $result ) ) {
- $this->response .= $result->get_error_message();
- return;
- }
+ if ( is_wp_error( $result ) ) {
+ $this->response .= $result->get_error_message();
+ return;
}
// Get an authorization URL which will redirect back to our page.
@@ -658,8 +671,6 @@ protected function handle_actions() {
// Payments flow allows redirect back to the site without showing plans.
$auth_url = add_query_arg( [ 'from' => 'google-listings-and-ads' ], $auth_url );
- error_log( $auth_url );
-
// Using wp_redirect intentionally because we're redirecting outside.
wp_redirect( $auth_url ); // phpcs:ignore WordPress.Security.SafeRedirect
exit;
@@ -672,9 +683,9 @@ protected function handle_actions() {
if ( $plugin && ! $plugin->is_only() ) {
$connected_plugins = $manager->get_connected_plugins();
- $this->response = 'Cannot disconnect Jetpack connection as there are other plugins using it: ';
+ $this->response = 'Cannot disconnect WordPress.com connection as there are other plugins using it: ';
$this->response .= implode( ', ', array_keys( $connected_plugins ) ) . "\n";
- $this->response .= 'Please disconnect the connection using My Jetpack.';
+ $this->response .= 'Please disconnect the connection using the Jetpack plugin.';
return;
} else {
$redirect = admin_url( 'admin.php?page=connection-test-admin-page' );
@@ -683,6 +694,15 @@ protected function handle_actions() {
}
}
+ if ( 'wp-status' === $_GET['action'] && check_admin_referer( 'wp-status' ) ) {
+ $request = new Request( 'GET', '/wc/gla/jetpack/connected' );
+ $this->send_rest_request( $request );
+
+ /** @var OptionsInterface $options */
+ $options = $this->container->get( OptionsInterface::class );
+ $this->response .= "\n\n" . 'Saved Connection option = ' . ( $options->get( OptionsInterface::JETPACK_CONNECTED ) ? 'connected' : 'disconnected' );
+ }
+
if ( 'wcs-test' === $_GET['action'] && check_admin_referer( 'wcs-test' ) ) {
$url = $this->get_connect_server_url();
$this->response = 'GET ' . $url . "\n";
@@ -1157,5 +1177,7 @@ private function send_rest_request( Request $request ) {
$this->response .= 'Request: ' . $request->get_method() . ' ' . $request->get_route() . PHP_EOL;
$this->response .= 'Status: ' . $response->get_status() . PHP_EOL;
$this->response .= 'Response: ' . $json;
+
+ return $data;
}
}
diff --git a/src/Google/GlobalSiteTag.php b/src/Google/GlobalSiteTag.php
index c3348242c5..689af75e40 100644
--- a/src/Google/GlobalSiteTag.php
+++ b/src/Google/GlobalSiteTag.php
@@ -211,22 +211,30 @@ function () use ( $gtag_events ) {
/**
* Activate the Global Site Tag framework:
* - Insert GST code, or
- * - Include the Google Ads conversion ID in WooCommerce Google Analytics Integration output, if available
+ * - Include the Google Ads conversion ID in WooCommerce Google Analytics for WooCommerce output, if available
*
* @param string $ads_conversion_id Google Ads account conversion ID.
*/
public function activate_global_site_tag( string $ads_conversion_id ) {
if ( $this->gtag_js->is_adding_framework() ) {
- add_filter(
- 'woocommerce_gtag_snippet',
- function ( $gtag_snippet ) use ( $ads_conversion_id ) {
- return preg_replace(
- '~(\s)~',
- "\tgtag('config', '" . $ads_conversion_id . "', { 'groups': 'GLA', 'send_page_view': false });\n$1",
- $gtag_snippet
- );
- }
- );
+ if ( version_compare( \WC_GOOGLE_ANALYTICS_INTEGRATION_VERSION, '2.0.0', '>=' ) ) {
+ wp_add_inline_script(
+ 'woocommerce-google-analytics-integration',
+ $this->get_gtag_config( $ads_conversion_id )
+ );
+ } else {
+ // Legacy code to support Google Analytics for WooCommerce version < 2.0.0.
+ add_filter(
+ 'woocommerce_gtag_snippet',
+ function ( $gtag_snippet ) use ( $ads_conversion_id ) {
+ return preg_replace(
+ '~(\s)~',
+ "\tgtag('config', '" . $ads_conversion_id . "', { 'groups': 'GLA', 'send_page_view': false });\n$1",
+ $gtag_snippet
+ );
+ }
+ );
+ }
} else {
$this->display_global_site_tag( $ads_conversion_id );
}
@@ -246,19 +254,73 @@ protected function display_global_site_tag( string $ads_conversion_id ) {
get_currency() ),
esc_js( $order->get_id() ),
);
- wp_print_inline_script_tag( $conversion_gtag_info );
+ $this->add_inline_event_script( $conversion_gtag_info );
// Get the item info in the order
$item_info = [];
@@ -355,7 +417,7 @@ public function maybe_display_conversion_and_purchase_event_snippets( string $ad
esc_js( $language ),
join( ',', $item_info ),
);
- wp_print_inline_script_tag( $purchase_page_gtag );
+ $this->add_inline_event_script( $purchase_page_gtag );
}
/**
@@ -387,7 +449,7 @@ private function display_view_item_event_snippet(): void {
esc_js( $product->get_name() ),
esc_js( join( ' & ', $this->product_helper->get_categories( $product ) ) ),
);
- wp_print_inline_script_tag( $view_item_gtag );
+ $this->add_inline_event_script( $view_item_gtag );
}
/**
@@ -395,7 +457,7 @@ private function display_view_item_event_snippet(): void {
*/
private function display_page_view_event_snippet(): void {
if ( ! is_cart() ) {
- wp_print_inline_script_tag(
+ $this->add_inline_event_script(
'gtag("event", "page_view", {send_to: "GLA"});'
);
return;
@@ -438,7 +500,7 @@ private function display_page_view_event_snippet(): void {
$value,
join( ',', $item_info ),
);
- wp_print_inline_script_tag( $page_view_gtag );
+ $this->add_inline_event_script( $page_view_gtag );
}
/**
diff --git a/src/Hooks/README.md b/src/Hooks/README.md
index acfe826c00..46d367d823 100644
--- a/src/Hooks/README.md
+++ b/src/Hooks/README.md
@@ -8,7 +8,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [BulkEditInitializer.php#L36](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Admin/BulkEdit/BulkEditInitializer.php#L36)
+- [BulkEditInitializer.php#L36](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Admin/BulkEdit/BulkEditInitializer.php#L36)
## woocommerce_admin_disabled
@@ -16,7 +16,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCAdminValidator.php#L38](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Internal/Requirements/WCAdminValidator.php#L38)
+- [WCAdminValidator.php#L38](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Internal/Requirements/WCAdminValidator.php#L38)
## woocommerce_gla_ads_billing_setup_status
@@ -24,8 +24,8 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [Ads.php#L112](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Ads.php#L112)
-- [Ads.php#L121](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Ads.php#L121)
+- [Ads.php#L112](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Ads.php#L112)
+- [Ads.php#L121](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Ads.php#L121)
## woocommerce_gla_ads_client_exception
@@ -33,24 +33,24 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [AdsAssetGroupAsset.php#L135](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/AdsAssetGroupAsset.php#L135)
-- [AdsAssetGroupAsset.php#L201](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/AdsAssetGroupAsset.php#L201)
-- [Ads.php#L73](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Ads.php#L73)
-- [Ads.php#L117](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Ads.php#L117)
-- [Ads.php#L172](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Ads.php#L172)
-- [Ads.php#L214](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Ads.php#L214)
-- [Ads.php#L298](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Ads.php#L298)
-- [AdsCampaign.php#L140](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/AdsCampaign.php#L140)
-- [AdsCampaign.php#L183](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/AdsCampaign.php#L183)
-- [AdsCampaign.php#L246](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/AdsCampaign.php#L246)
-- [AdsCampaign.php#L301](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/AdsCampaign.php#L301)
-- [AdsCampaign.php#L338](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/AdsCampaign.php#L338)
-- [AdsConversionAction.php#L97](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/AdsConversionAction.php#L97)
-- [AdsConversionAction.php#L143](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/AdsConversionAction.php#L143)
-- [AdsAssetGroup.php#L113](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/AdsAssetGroup.php#L113)
-- [AdsAssetGroup.php#L304](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/AdsAssetGroup.php#L304)
-- [AdsAssetGroup.php#L368](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/AdsAssetGroup.php#L368)
-- [AdsReport.php#L105](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/AdsReport.php#L105)
+- [AdsAssetGroupAsset.php#L135](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/AdsAssetGroupAsset.php#L135)
+- [AdsAssetGroupAsset.php#L201](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/AdsAssetGroupAsset.php#L201)
+- [Ads.php#L73](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Ads.php#L73)
+- [Ads.php#L117](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Ads.php#L117)
+- [Ads.php#L172](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Ads.php#L172)
+- [Ads.php#L214](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Ads.php#L214)
+- [Ads.php#L298](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Ads.php#L298)
+- [AdsCampaign.php#L140](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/AdsCampaign.php#L140)
+- [AdsCampaign.php#L183](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/AdsCampaign.php#L183)
+- [AdsCampaign.php#L246](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/AdsCampaign.php#L246)
+- [AdsCampaign.php#L301](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/AdsCampaign.php#L301)
+- [AdsCampaign.php#L338](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/AdsCampaign.php#L338)
+- [AdsConversionAction.php#L97](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/AdsConversionAction.php#L97)
+- [AdsConversionAction.php#L143](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/AdsConversionAction.php#L143)
+- [AdsAssetGroup.php#L113](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/AdsAssetGroup.php#L113)
+- [AdsAssetGroup.php#L304](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/AdsAssetGroup.php#L304)
+- [AdsAssetGroup.php#L368](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/AdsAssetGroup.php#L368)
+- [AdsReport.php#L105](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/AdsReport.php#L105)
## woocommerce_gla_ads_setup_completed
@@ -58,7 +58,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [SetupCompleteController.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Site/Controllers/Ads/SetupCompleteController.php#L66)
+- [SetupCompleteController.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Site/Controllers/Ads/SetupCompleteController.php#L66)
## woocommerce_gla_attribute_applicable_product_types_
@@ -66,8 +66,8 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [AttributeManager.php#L295](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/Attributes/AttributeManager.php#L295)
-- [AttributesForm.php#L98](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Admin/Product/Attributes/AttributesForm.php#L98)
+- [AttributeManager.php#L295](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/Attributes/AttributeManager.php#L295)
+- [AttributesForm.php#L98](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Admin/Product/Attributes/AttributesForm.php#L98)
## woocommerce_gla_attribute_hidden_product_types_
@@ -75,7 +75,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [AttributesForm.php#L103](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Admin/Product/Attributes/AttributesForm.php#L103)
+- [AttributesForm.php#L103](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Admin/Product/Attributes/AttributesForm.php#L103)
## woocommerce_gla_attribute_mapping_sources
@@ -83,7 +83,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [IsFieldTrait.php#L31](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L31)
+- [IsFieldTrait.php#L31](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L31)
## woocommerce_gla_attribute_mapping_sources_custom_attributes
@@ -91,7 +91,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [IsFieldTrait.php#L125](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L125)
+- [IsFieldTrait.php#L125](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L125)
## woocommerce_gla_attribute_mapping_sources_global_attributes
@@ -99,7 +99,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [IsFieldTrait.php#L64](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L64)
+- [IsFieldTrait.php#L64](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L64)
## woocommerce_gla_attribute_mapping_sources_product_fields
@@ -107,7 +107,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [IsFieldTrait.php#L115](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L115)
+- [IsFieldTrait.php#L115](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L115)
## woocommerce_gla_attribute_mapping_sources_taxonomies
@@ -115,7 +115,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [IsFieldTrait.php#L65](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L65)
+- [IsFieldTrait.php#L65](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L65)
## woocommerce_gla_attributes_tab_applicable_product_types
@@ -123,7 +123,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [AttributesTrait.php#L18](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Admin/Product/Attributes/AttributesTrait.php#L18)
+- [AttributesTrait.php#L18](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Admin/Product/Attributes/AttributesTrait.php#L18)
## woocommerce_gla_batch_deleted_products
@@ -131,7 +131,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ProductSyncer.php#L229](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductSyncer.php#L229)
+- [ProductSyncer.php#L229](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductSyncer.php#L229)
## woocommerce_gla_batch_retry_delete_products
@@ -139,7 +139,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ProductSyncer.php#L343](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductSyncer.php#L343)
+- [ProductSyncer.php#L343](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductSyncer.php#L343)
## woocommerce_gla_batch_retry_update_products
@@ -147,7 +147,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ProductSyncer.php#L287](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductSyncer.php#L287)
+- [ProductSyncer.php#L287](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductSyncer.php#L287)
## woocommerce_gla_batch_updated_products
@@ -155,7 +155,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ProductSyncer.php#L143](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductSyncer.php#L143)
+- [ProductSyncer.php#L143](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductSyncer.php#L143)
## woocommerce_gla_batched_job_size
@@ -163,8 +163,8 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [UpdateSyncableProductsCount.php#L74](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Jobs/UpdateSyncableProductsCount.php#L74)
-- [AbstractBatchedActionSchedulerJob.php#L104](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Jobs/AbstractBatchedActionSchedulerJob.php#L104)
+- [UpdateSyncableProductsCount.php#L74](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Jobs/UpdateSyncableProductsCount.php#L74)
+- [AbstractBatchedActionSchedulerJob.php#L104](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Jobs/AbstractBatchedActionSchedulerJob.php#L104)
## woocommerce_gla_bulk_update_coupon
@@ -172,7 +172,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [CouponBulkEdit.php#L133](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Admin/BulkEdit/CouponBulkEdit.php#L133)
+- [CouponBulkEdit.php#L133](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Admin/BulkEdit/CouponBulkEdit.php#L133)
## woocommerce_gla_conversion_action_name
@@ -180,7 +180,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [AdsConversionAction.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/AdsConversionAction.php#L66)
+- [AdsConversionAction.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/AdsConversionAction.php#L66)
## woocommerce_gla_coupon_destinations
@@ -188,7 +188,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCCouponAdapter.php#L391](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/WCCouponAdapter.php#L391)
+- [WCCouponAdapter.php#L391](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/WCCouponAdapter.php#L391)
## woocommerce_gla_coupons_delete_retry_on_failure
@@ -196,7 +196,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [CouponSyncer.php#L438](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponSyncer.php#L438)
+- [CouponSyncer.php#L438](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponSyncer.php#L438)
## woocommerce_gla_coupons_update_retry_on_failure
@@ -204,7 +204,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [CouponSyncer.php#L400](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponSyncer.php#L400)
+- [CouponSyncer.php#L400](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponSyncer.php#L400)
## woocommerce_gla_custom_merchant_issues
@@ -212,7 +212,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [MerchantStatuses.php#L435](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/MerchantCenter/MerchantStatuses.php#L435)
+- [MerchantStatuses.php#L435](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/MerchantCenter/MerchantStatuses.php#L435)
## woocommerce_gla_debug_message
@@ -220,38 +220,38 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L205](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/WCProductAdapter.php#L205)
-- [ProductSyncer.php#L149](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductSyncer.php#L149)
-- [ProductSyncer.php#L159](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductSyncer.php#L159)
-- [ProductSyncer.php#L235](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductSyncer.php#L235)
-- [ProductSyncer.php#L245](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductSyncer.php#L245)
-- [ProductHelper.php#L482](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductHelper.php#L482)
-- [ProductHelper.php#L514](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductHelper.php#L514)
-- [BatchProductHelper.php#L208](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/BatchProductHelper.php#L208)
-- [BatchProductHelper.php#L231](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/BatchProductHelper.php#L231)
-- [SyncerHooks.php#L197](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/SyncerHooks.php#L197)
-- [ProductRepository.php#L309](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductRepository.php#L309)
-- [ProductMetaQueryHelper.php#L92](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/DB/ProductMetaQueryHelper.php#L92)
-- [ProductMetaQueryHelper.php#L123](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/DB/ProductMetaQueryHelper.php#L123)
-- [IssuesController.php#L96](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Site/Controllers/MerchantCenter/IssuesController.php#L96)
-- [ActionSchedulerJobMonitor.php#L117](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Jobs/ActionSchedulerJobMonitor.php#L117)
-- [ActionSchedulerJobMonitor.php#L126](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Jobs/ActionSchedulerJobMonitor.php#L126)
-- [CleanupSyncedProducts.php#L74](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Jobs/CleanupSyncedProducts.php#L74)
-- [MerchantStatuses.php#L334](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/MerchantCenter/MerchantStatuses.php#L334)
-- [MerchantStatuses.php#L357](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/MerchantCenter/MerchantStatuses.php#L357)
-- [MerchantCenterService.php#L305](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/MerchantCenter/MerchantCenterService.php#L305)
-- [CouponHelper.php#L257](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponHelper.php#L257)
-- [CouponHelper.php#L294](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponHelper.php#L294)
-- [CouponSyncer.php#L103](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponSyncer.php#L103)
-- [CouponSyncer.php#L116](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponSyncer.php#L116)
-- [CouponSyncer.php#L141](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponSyncer.php#L141)
-- [CouponSyncer.php#L155](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponSyncer.php#L155)
-- [CouponSyncer.php#L172](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponSyncer.php#L172)
-- [CouponSyncer.php#L195](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponSyncer.php#L195)
-- [CouponSyncer.php#L260](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponSyncer.php#L260)
-- [CouponSyncer.php#L309](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponSyncer.php#L309)
-- [CouponSyncer.php#L328](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponSyncer.php#L328)
-- [SyncerHooks.php#L178](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/SyncerHooks.php#L178)
+- [WCProductAdapter.php#L205](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/WCProductAdapter.php#L205)
+- [ProductSyncer.php#L149](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductSyncer.php#L149)
+- [ProductSyncer.php#L159](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductSyncer.php#L159)
+- [ProductSyncer.php#L235](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductSyncer.php#L235)
+- [ProductSyncer.php#L245](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductSyncer.php#L245)
+- [ProductHelper.php#L482](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductHelper.php#L482)
+- [ProductHelper.php#L514](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductHelper.php#L514)
+- [BatchProductHelper.php#L208](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/BatchProductHelper.php#L208)
+- [BatchProductHelper.php#L231](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/BatchProductHelper.php#L231)
+- [SyncerHooks.php#L197](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/SyncerHooks.php#L197)
+- [ProductRepository.php#L309](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductRepository.php#L309)
+- [ProductMetaQueryHelper.php#L92](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/DB/ProductMetaQueryHelper.php#L92)
+- [ProductMetaQueryHelper.php#L123](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/DB/ProductMetaQueryHelper.php#L123)
+- [IssuesController.php#L96](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Site/Controllers/MerchantCenter/IssuesController.php#L96)
+- [ActionSchedulerJobMonitor.php#L117](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Jobs/ActionSchedulerJobMonitor.php#L117)
+- [ActionSchedulerJobMonitor.php#L126](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Jobs/ActionSchedulerJobMonitor.php#L126)
+- [CleanupSyncedProducts.php#L74](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Jobs/CleanupSyncedProducts.php#L74)
+- [MerchantStatuses.php#L334](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/MerchantCenter/MerchantStatuses.php#L334)
+- [MerchantStatuses.php#L357](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/MerchantCenter/MerchantStatuses.php#L357)
+- [MerchantCenterService.php#L305](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/MerchantCenter/MerchantCenterService.php#L305)
+- [CouponHelper.php#L257](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponHelper.php#L257)
+- [CouponHelper.php#L294](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponHelper.php#L294)
+- [CouponSyncer.php#L103](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponSyncer.php#L103)
+- [CouponSyncer.php#L116](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponSyncer.php#L116)
+- [CouponSyncer.php#L141](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponSyncer.php#L141)
+- [CouponSyncer.php#L155](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponSyncer.php#L155)
+- [CouponSyncer.php#L172](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponSyncer.php#L172)
+- [CouponSyncer.php#L195](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponSyncer.php#L195)
+- [CouponSyncer.php#L260](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponSyncer.php#L260)
+- [CouponSyncer.php#L309](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponSyncer.php#L309)
+- [CouponSyncer.php#L328](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponSyncer.php#L328)
+- [SyncerHooks.php#L178](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/SyncerHooks.php#L178)
## woocommerce_gla_deleted_promotions
@@ -259,7 +259,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [CouponSyncer.php#L322](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponSyncer.php#L322)
+- [CouponSyncer.php#L322](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponSyncer.php#L322)
## woocommerce_gla_dimension_unit
@@ -267,7 +267,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L430](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/WCProductAdapter.php#L430)
+- [WCProductAdapter.php#L430](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/WCProductAdapter.php#L430)
## woocommerce_gla_disable_gtag_tracking
@@ -275,7 +275,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [GlobalSiteTag.php#L464](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Google/GlobalSiteTag.php#L464)
+- [GlobalSiteTag.php#L526](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Google/GlobalSiteTag.php#L526)
## woocommerce_gla_enable_connection_test
@@ -283,7 +283,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ConnectionTest.php#L87](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/ConnectionTest.php#L87)
+- [ConnectionTest.php#L87](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/ConnectionTest.php#L87)
## woocommerce_gla_enable_debug_logging
@@ -291,7 +291,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [DebugLogger.php#L33](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Logging/DebugLogger.php#L33)
+- [DebugLogger.php#L33](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Logging/DebugLogger.php#L33)
## woocommerce_gla_enable_mcm
@@ -299,7 +299,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [GLAChannel.php#L75](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/MultichannelMarketing/GLAChannel.php#L75)
+- [GLAChannel.php#L75](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/MultichannelMarketing/GLAChannel.php#L75)
## woocommerce_gla_enable_reports
@@ -307,7 +307,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [Admin.php#L271](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Admin/Admin.php#L271)
+- [Admin.php#L271](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Admin/Admin.php#L271)
## woocommerce_gla_error
@@ -315,23 +315,23 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ProductSyncer.php#L290](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductSyncer.php#L290)
-- [ProductSyncer.php#L313](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductSyncer.php#L313)
-- [ProductSyncer.php#L346](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductSyncer.php#L346)
-- [ProductSyncer.php#L361](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductSyncer.php#L361)
-- [ProductHelper.php#L374](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductHelper.php#L374)
-- [ProductHelper.php#L590](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductHelper.php#L590)
-- [ProductMetaHandler.php#L173](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductMetaHandler.php#L173)
-- [BatchProductHelper.php#L248](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/BatchProductHelper.php#L248)
-- [AttributeManager.php#L269](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/Attributes/AttributeManager.php#L269)
-- [PHPView.php#L136](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/View/PHPView.php#L136)
-- [PHPView.php#L164](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/View/PHPView.php#L164)
-- [PHPView.php#L208](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/View/PHPView.php#L208)
-- [ProductMetaQueryHelper.php#L139](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/DB/ProductMetaQueryHelper.php#L139)
-- [CouponSyncer.php#L410](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponSyncer.php#L410)
-- [CouponSyncer.php#L448](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponSyncer.php#L448)
-- [CouponSyncer.php#L466](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponSyncer.php#L466)
-- [CouponMetaHandler.php#L220](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponMetaHandler.php#L220)
+- [ProductSyncer.php#L290](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductSyncer.php#L290)
+- [ProductSyncer.php#L313](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductSyncer.php#L313)
+- [ProductSyncer.php#L346](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductSyncer.php#L346)
+- [ProductSyncer.php#L361](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductSyncer.php#L361)
+- [ProductHelper.php#L374](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductHelper.php#L374)
+- [ProductHelper.php#L590](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductHelper.php#L590)
+- [ProductMetaHandler.php#L173](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductMetaHandler.php#L173)
+- [BatchProductHelper.php#L248](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/BatchProductHelper.php#L248)
+- [AttributeManager.php#L269](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/Attributes/AttributeManager.php#L269)
+- [PHPView.php#L136](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/View/PHPView.php#L136)
+- [PHPView.php#L164](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/View/PHPView.php#L164)
+- [PHPView.php#L208](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/View/PHPView.php#L208)
+- [ProductMetaQueryHelper.php#L139](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/DB/ProductMetaQueryHelper.php#L139)
+- [CouponSyncer.php#L410](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponSyncer.php#L410)
+- [CouponSyncer.php#L448](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponSyncer.php#L448)
+- [CouponSyncer.php#L466](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponSyncer.php#L466)
+- [CouponMetaHandler.php#L220](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponMetaHandler.php#L220)
## woocommerce_gla_exception
@@ -339,29 +339,30 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ScriptWithBuiltDependenciesAsset.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Assets/ScriptWithBuiltDependenciesAsset.php#L66)
-- [GoogleServiceProvider.php#L234](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Internal/DependencyManagement/GoogleServiceProvider.php#L234)
-- [GoogleServiceProvider.php#L244](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Internal/DependencyManagement/GoogleServiceProvider.php#L244)
-- [ProductSyncer.php#L134](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductSyncer.php#L134)
-- [ProductSyncer.php#L220](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductSyncer.php#L220)
-- [ProductHelper.php#L256](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductHelper.php#L256)
-- [PHPView.php#L87](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/View/PHPView.php#L87)
-- [WooCommercePreOrders.php#L111](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Integration/WooCommercePreOrders.php#L111)
-- [WooCommercePreOrders.php#L131](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Integration/WooCommercePreOrders.php#L131)
-- [ProductVisibilityController.php#L193](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Site/Controllers/MerchantCenter/ProductVisibilityController.php#L193)
-- [SettingsSyncController.php#L96](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Site/Controllers/MerchantCenter/SettingsSyncController.php#L96)
-- [ContactInformationController.php#L242](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Site/Controllers/MerchantCenter/ContactInformationController.php#L242)
-- [Connection.php#L95](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Connection.php#L95)
-- [PluginUpdate.php#L75](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Jobs/Update/PluginUpdate.php#L75)
-- [DateTime.php#L44](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Admin/Input/DateTime.php#L44)
-- [DateTime.php#L80](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Admin/Input/DateTime.php#L80)
-- [ChannelVisibilityMetaBox.php#L176](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Admin/MetaBox/ChannelVisibilityMetaBox.php#L176)
-- [CouponChannelVisibilityMetaBox.php#L197](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Admin/MetaBox/CouponChannelVisibilityMetaBox.php#L197)
-- [ClearProductStatsCache.php#L61](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Event/ClearProductStatsCache.php#L61)
-- [NoteInitializer.php#L74](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Notes/NoteInitializer.php#L74)
-- [NoteInitializer.php#L116](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Notes/NoteInitializer.php#L116)
-- [CouponSyncer.php#L203](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponSyncer.php#L203)
-- [CouponSyncer.php#L293](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponSyncer.php#L293)
+- [ScriptWithBuiltDependenciesAsset.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Assets/ScriptWithBuiltDependenciesAsset.php#L66)
+- [GoogleServiceProvider.php#L234](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Internal/DependencyManagement/GoogleServiceProvider.php#L234)
+- [GoogleServiceProvider.php#L244](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Internal/DependencyManagement/GoogleServiceProvider.php#L244)
+- [ProductSyncer.php#L134](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductSyncer.php#L134)
+- [ProductSyncer.php#L220](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductSyncer.php#L220)
+- [ProductHelper.php#L256](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductHelper.php#L256)
+- [PHPView.php#L87](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/View/PHPView.php#L87)
+- [WooCommercePreOrders.php#L111](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Integration/WooCommercePreOrders.php#L111)
+- [WooCommercePreOrders.php#L131](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Integration/WooCommercePreOrders.php#L131)
+- [ProductVisibilityController.php#L193](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Site/Controllers/MerchantCenter/ProductVisibilityController.php#L193)
+- [SettingsSyncController.php#L96](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Site/Controllers/MerchantCenter/SettingsSyncController.php#L96)
+- [ContactInformationController.php#L242](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Site/Controllers/MerchantCenter/ContactInformationController.php#L242)
+- [Connection.php#L95](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Connection.php#L95)
+- [Middleware.php#L455](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Middleware.php#L455)
+- [PluginUpdate.php#L75](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Jobs/Update/PluginUpdate.php#L75)
+- [DateTime.php#L44](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Admin/Input/DateTime.php#L44)
+- [DateTime.php#L80](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Admin/Input/DateTime.php#L80)
+- [ChannelVisibilityMetaBox.php#L176](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Admin/MetaBox/ChannelVisibilityMetaBox.php#L176)
+- [CouponChannelVisibilityMetaBox.php#L197](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Admin/MetaBox/CouponChannelVisibilityMetaBox.php#L197)
+- [ClearProductStatsCache.php#L61](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Event/ClearProductStatsCache.php#L61)
+- [NoteInitializer.php#L74](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Notes/NoteInitializer.php#L74)
+- [NoteInitializer.php#L116](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Notes/NoteInitializer.php#L116)
+- [CouponSyncer.php#L203](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponSyncer.php#L203)
+- [CouponSyncer.php#L293](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponSyncer.php#L293)
## woocommerce_gla_force_run_install
@@ -369,7 +370,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [Installer.php#L82](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Installer.php#L82)
+- [Installer.php#L82](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Installer.php#L82)
## woocommerce_gla_get_google_product_offer_id
@@ -377,7 +378,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L283](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/WCProductAdapter.php#L283)
+- [WCProductAdapter.php#L283](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/WCProductAdapter.php#L283)
## woocommerce_gla_get_sync_ready_products_filter
@@ -385,7 +386,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ProductFilter.php#L61](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductFilter.php#L61)
+- [ProductFilter.php#L61](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductFilter.php#L61)
## woocommerce_gla_get_sync_ready_products_pre_filter
@@ -393,7 +394,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ProductFilter.php#L47](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductFilter.php#L47)
+- [ProductFilter.php#L47](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductFilter.php#L47)
## woocommerce_gla_get_wc_product_id
@@ -401,7 +402,15 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ProductHelper.php#L301](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductHelper.php#L301)
+- [ProductHelper.php#L301](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductHelper.php#L301)
+
+## woocommerce_gla_gtag_consent
+
+**Type**: filter
+
+**Used in**:
+
+- [GlobalSiteTag.php#L302](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Google/GlobalSiteTag.php#L302)
## woocommerce_gla_guzzle_client_exception
@@ -409,20 +418,20 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [GoogleServiceProvider.php#L263](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Internal/DependencyManagement/GoogleServiceProvider.php#L263)
-- [Connection.php#L70](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Connection.php#L70)
-- [Connection.php#L91](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Connection.php#L91)
-- [Connection.php#L126](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Connection.php#L126)
-- [Middleware.php#L80](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Middleware.php#L80)
-- [Middleware.php#L178](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Middleware.php#L178)
-- [Middleware.php#L228](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Middleware.php#L228)
-- [Middleware.php#L273](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Middleware.php#L273)
-- [Middleware.php#L344](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Middleware.php#L344)
-- [Middleware.php#L394](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Middleware.php#L394)
-- [Middleware.php#L418](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Middleware.php#L418)
-- [Middleware.php#L452](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Middleware.php#L452)
-- [Middleware.php#L552](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Middleware.php#L552)
-- [Middleware.php#L611](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Middleware.php#L611)
+- [GoogleServiceProvider.php#L263](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Internal/DependencyManagement/GoogleServiceProvider.php#L263)
+- [Connection.php#L70](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Connection.php#L70)
+- [Connection.php#L91](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Connection.php#L91)
+- [Connection.php#L126](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Connection.php#L126)
+- [Middleware.php#L80](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Middleware.php#L80)
+- [Middleware.php#L178](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Middleware.php#L178)
+- [Middleware.php#L228](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Middleware.php#L228)
+- [Middleware.php#L273](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Middleware.php#L273)
+- [Middleware.php#L344](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Middleware.php#L344)
+- [Middleware.php#L394](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Middleware.php#L394)
+- [Middleware.php#L418](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Middleware.php#L418)
+- [Middleware.php#L452](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Middleware.php#L452)
+- [Middleware.php#L554](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Middleware.php#L554)
+- [Middleware.php#L613](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Middleware.php#L613)
## woocommerce_gla_guzzle_invalid_response
@@ -430,15 +439,15 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [Connection.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Connection.php#L66)
-- [Connection.php#L121](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Connection.php#L121)
-- [Middleware.php#L159](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Middleware.php#L159)
-- [Middleware.php#L223](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Middleware.php#L223)
-- [Middleware.php#L267](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Middleware.php#L267)
-- [Middleware.php#L339](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Middleware.php#L339)
-- [Middleware.php#L389](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Middleware.php#L389)
-- [Middleware.php#L548](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Middleware.php#L548)
-- [Middleware.php#L599](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Middleware.php#L599)
+- [Connection.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Connection.php#L66)
+- [Connection.php#L121](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Connection.php#L121)
+- [Middleware.php#L159](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Middleware.php#L159)
+- [Middleware.php#L223](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Middleware.php#L223)
+- [Middleware.php#L267](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Middleware.php#L267)
+- [Middleware.php#L339](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Middleware.php#L339)
+- [Middleware.php#L389](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Middleware.php#L389)
+- [Middleware.php#L550](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Middleware.php#L550)
+- [Middleware.php#L601](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Middleware.php#L601)
## woocommerce_gla_handle_shipping_method_to_rates
@@ -446,7 +455,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ZoneMethodsParser.php#L106](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Shipping/ZoneMethodsParser.php#L106)
+- [ZoneMethodsParser.php#L106](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Shipping/ZoneMethodsParser.php#L106)
## woocommerce_gla_hidden_coupon_types
@@ -454,7 +463,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [CouponSyncer.php#L379](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponSyncer.php#L379)
+- [CouponSyncer.php#L379](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponSyncer.php#L379)
## woocommerce_gla_job_failure_rate_threshold
@@ -462,7 +471,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ActionSchedulerJobMonitor.php#L186](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Jobs/ActionSchedulerJobMonitor.php#L186)
+- [ActionSchedulerJobMonitor.php#L186](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Jobs/ActionSchedulerJobMonitor.php#L186)
## woocommerce_gla_job_failure_timeframe
@@ -470,7 +479,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ActionSchedulerJobMonitor.php#L195](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Jobs/ActionSchedulerJobMonitor.php#L195)
+- [ActionSchedulerJobMonitor.php#L195](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Jobs/ActionSchedulerJobMonitor.php#L195)
## woocommerce_gla_mapping_rules_change
@@ -478,9 +487,9 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [AttributeMappingRulesController.php#L143](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Site/Controllers/AttributeMapping/AttributeMappingRulesController.php#L143)
-- [AttributeMappingRulesController.php#L166](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Site/Controllers/AttributeMapping/AttributeMappingRulesController.php#L166)
-- [AttributeMappingRulesController.php#L188](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Site/Controllers/AttributeMapping/AttributeMappingRulesController.php#L188)
+- [AttributeMappingRulesController.php#L143](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Site/Controllers/AttributeMapping/AttributeMappingRulesController.php#L143)
+- [AttributeMappingRulesController.php#L166](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Site/Controllers/AttributeMapping/AttributeMappingRulesController.php#L166)
+- [AttributeMappingRulesController.php#L188](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Site/Controllers/AttributeMapping/AttributeMappingRulesController.php#L188)
## woocommerce_gla_mc_account_review_lifetime
@@ -488,7 +497,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [RequestReviewStatuses.php#L146](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Google/RequestReviewStatuses.php#L146)
+- [RequestReviewStatuses.php#L146](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Google/RequestReviewStatuses.php#L146)
## woocommerce_gla_mc_client_exception
@@ -496,14 +505,14 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [Merchant.php#L92](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Merchant.php#L92)
-- [Merchant.php#L140](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Merchant.php#L140)
-- [Merchant.php#L172](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Merchant.php#L172)
-- [Merchant.php#L191](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Merchant.php#L191)
-- [Merchant.php#L247](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Merchant.php#L247)
-- [Merchant.php#L292](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Merchant.php#L292)
-- [Merchant.php#L354](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Merchant.php#L354)
-- [MerchantReport.php#L95](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/MerchantReport.php#L95)
+- [Merchant.php#L92](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Merchant.php#L92)
+- [Merchant.php#L140](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Merchant.php#L140)
+- [Merchant.php#L172](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Merchant.php#L172)
+- [Merchant.php#L191](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Merchant.php#L191)
+- [Merchant.php#L247](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Merchant.php#L247)
+- [Merchant.php#L292](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Merchant.php#L292)
+- [Merchant.php#L354](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Merchant.php#L354)
+- [MerchantReport.php#L95](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/MerchantReport.php#L95)
## woocommerce_gla_mc_settings_sync
@@ -511,7 +520,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [SettingsSyncController.php#L69](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Site/Controllers/MerchantCenter/SettingsSyncController.php#L69)
+- [SettingsSyncController.php#L69](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Site/Controllers/MerchantCenter/SettingsSyncController.php#L69)
## woocommerce_gla_mc_status_lifetime
@@ -519,7 +528,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [MerchantStatuses.php#L778](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/MerchantCenter/MerchantStatuses.php#L778)
+- [MerchantStatuses.php#L778](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/MerchantCenter/MerchantStatuses.php#L778)
## woocommerce_gla_merchant_issue_override
@@ -527,7 +536,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [IssuesController.php#L86](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Site/Controllers/MerchantCenter/IssuesController.php#L86)
+- [IssuesController.php#L86](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Site/Controllers/MerchantCenter/IssuesController.php#L86)
## woocommerce_gla_merchant_status_google_ids_chunk
@@ -535,7 +544,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [MerchantStatuses.php#L191](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/MerchantCenter/MerchantStatuses.php#L191)
+- [MerchantStatuses.php#L191](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/MerchantCenter/MerchantStatuses.php#L191)
## woocommerce_gla_merchant_status_presync_issues_chunk
@@ -543,7 +552,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [MerchantStatuses.php#L531](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/MerchantCenter/MerchantStatuses.php#L531)
+- [MerchantStatuses.php#L531](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/MerchantCenter/MerchantStatuses.php#L531)
## woocommerce_gla_options_deleted_
@@ -551,7 +560,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [Options.php#L103](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Options/Options.php#L103)
+- [Options.php#L103](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Options/Options.php#L103)
## woocommerce_gla_options_updated_
@@ -559,8 +568,8 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [Options.php#L65](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Options/Options.php#L65)
-- [Options.php#L85](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Options/Options.php#L85)
+- [Options.php#L65](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Options/Options.php#L65)
+- [Options.php#L85](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Options/Options.php#L85)
## woocommerce_gla_prepared_response_->GET_ROUTE_NAME
@@ -568,7 +577,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [BaseController.php#L160](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Site/Controllers/BaseController.php#L160)
+- [BaseController.php#L160](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Site/Controllers/BaseController.php#L160)
## woocommerce_gla_product_attribute_types
@@ -576,7 +585,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [AttributeManager.php#L243](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/Attributes/AttributeManager.php#L243)
+- [AttributeManager.php#L243](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/Attributes/AttributeManager.php#L243)
## woocommerce_gla_product_attribute_value_
@@ -584,8 +593,8 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L909](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/WCProductAdapter.php#L909)
-- [WCProductAdapter.php#L960](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/WCProductAdapter.php#L960)
+- [WCProductAdapter.php#L909](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/WCProductAdapter.php#L909)
+- [WCProductAdapter.php#L960](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/WCProductAdapter.php#L960)
## woocommerce_gla_product_attribute_value_description
@@ -593,7 +602,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L351](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/WCProductAdapter.php#L351)
+- [WCProductAdapter.php#L351](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/WCProductAdapter.php#L351)
## woocommerce_gla_product_attribute_value_options_::get_id
@@ -601,7 +610,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [AttributesForm.php#L127](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Admin/Product/Attributes/AttributesForm.php#L127)
+- [AttributesForm.php#L127](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Admin/Product/Attributes/AttributesForm.php#L127)
## woocommerce_gla_product_attribute_value_price
@@ -609,7 +618,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L633](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/WCProductAdapter.php#L633)
+- [WCProductAdapter.php#L633](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/WCProductAdapter.php#L633)
## woocommerce_gla_product_attribute_value_sale_price
@@ -617,7 +626,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L685](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/WCProductAdapter.php#L685)
+- [WCProductAdapter.php#L685](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/WCProductAdapter.php#L685)
## woocommerce_gla_product_attribute_values
@@ -625,7 +634,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L166](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/WCProductAdapter.php#L166)
+- [WCProductAdapter.php#L166](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/WCProductAdapter.php#L166)
## woocommerce_gla_product_description_apply_shortcodes
@@ -633,7 +642,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L320](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/WCProductAdapter.php#L320)
+- [WCProductAdapter.php#L320](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/WCProductAdapter.php#L320)
## woocommerce_gla_product_property_value_is_virtual
@@ -641,7 +650,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L775](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/WCProductAdapter.php#L775)
+- [WCProductAdapter.php#L775](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/WCProductAdapter.php#L775)
## woocommerce_gla_product_query_args
@@ -649,7 +658,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ProductRepository.php#L365](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductRepository.php#L365)
+- [ProductRepository.php#L365](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductRepository.php#L365)
## woocommerce_gla_products_delete_retry_on_failure
@@ -657,7 +666,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ProductSyncer.php#L342](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductSyncer.php#L342)
+- [ProductSyncer.php#L342](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductSyncer.php#L342)
## woocommerce_gla_products_update_retry_on_failure
@@ -665,7 +674,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ProductSyncer.php#L286](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductSyncer.php#L286)
+- [ProductSyncer.php#L286](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductSyncer.php#L286)
## woocommerce_gla_ready_for_syncing
@@ -673,7 +682,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [MerchantCenterService.php#L118](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/MerchantCenter/MerchantCenterService.php#L118)
+- [MerchantCenterService.php#L118](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/MerchantCenter/MerchantCenterService.php#L118)
## woocommerce_gla_request_review_failure
@@ -681,9 +690,9 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [RequestReviewController.php#L110](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Site/Controllers/MerchantCenter/RequestReviewController.php#L110)
-- [RequestReviewController.php#L122](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Site/Controllers/MerchantCenter/RequestReviewController.php#L122)
-- [Middleware.php#L592](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Middleware.php#L592)
+- [RequestReviewController.php#L110](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Site/Controllers/MerchantCenter/RequestReviewController.php#L110)
+- [RequestReviewController.php#L122](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Site/Controllers/MerchantCenter/RequestReviewController.php#L122)
+- [Middleware.php#L594](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Middleware.php#L594)
## woocommerce_gla_request_review_response
@@ -691,7 +700,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [Middleware.php#L545](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Middleware.php#L545)
+- [Middleware.php#L547](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Middleware.php#L547)
## woocommerce_gla_retry_delete_coupons
@@ -699,7 +708,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [CouponSyncer.php#L443](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponSyncer.php#L443)
+- [CouponSyncer.php#L443](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponSyncer.php#L443)
## woocommerce_gla_retry_update_coupons
@@ -707,7 +716,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [CouponSyncer.php#L405](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponSyncer.php#L405)
+- [CouponSyncer.php#L405](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponSyncer.php#L405)
## woocommerce_gla_site_claim_failure
@@ -715,10 +724,10 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [Middleware.php#L268](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Middleware.php#L268)
-- [Middleware.php#L274](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Middleware.php#L274)
-- [Merchant.php#L93](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Merchant.php#L93)
-- [AccountService.php#L365](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/MerchantCenter/AccountService.php#L365)
+- [Middleware.php#L268](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Middleware.php#L268)
+- [Middleware.php#L274](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Middleware.php#L274)
+- [Merchant.php#L93](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Merchant.php#L93)
+- [AccountService.php#L365](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/MerchantCenter/AccountService.php#L365)
## woocommerce_gla_site_claim_overwrite_required
@@ -726,7 +735,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [AccountService.php#L360](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/MerchantCenter/AccountService.php#L360)
+- [AccountService.php#L360](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/MerchantCenter/AccountService.php#L360)
## woocommerce_gla_site_claim_success
@@ -734,8 +743,8 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [Middleware.php#L263](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Middleware.php#L263)
-- [Merchant.php#L90](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/Merchant.php#L90)
+- [Middleware.php#L263](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Middleware.php#L263)
+- [Merchant.php#L90](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/Merchant.php#L90)
## woocommerce_gla_site_url
@@ -743,7 +752,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [PluginHelper.php#L189](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/PluginHelper.php#L189)
+- [PluginHelper.php#L189](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/PluginHelper.php#L189)
## woocommerce_gla_site_verify_failure
@@ -751,9 +760,9 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [SiteVerification.php#L58](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/SiteVerification.php#L58)
-- [SiteVerification.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/SiteVerification.php#L66)
-- [SiteVerification.php#L87](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/SiteVerification.php#L87)
+- [SiteVerification.php#L58](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/SiteVerification.php#L58)
+- [SiteVerification.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/SiteVerification.php#L66)
+- [SiteVerification.php#L87](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/SiteVerification.php#L87)
## woocommerce_gla_site_verify_success
@@ -761,7 +770,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [SiteVerification.php#L85](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/SiteVerification.php#L85)
+- [SiteVerification.php#L85](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/SiteVerification.php#L85)
## woocommerce_gla_supported_coupon_types
@@ -769,7 +778,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [CouponSyncer.php#L366](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponSyncer.php#L366)
+- [CouponSyncer.php#L366](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponSyncer.php#L366)
## woocommerce_gla_supported_product_types
@@ -777,7 +786,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ProductSyncer.php#L264](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductSyncer.php#L264)
+- [ProductSyncer.php#L264](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductSyncer.php#L264)
## woocommerce_gla_sv_client_exception
@@ -785,8 +794,8 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [SiteVerification.php#L120](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/SiteVerification.php#L120)
-- [SiteVerification.php#L162](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Google/SiteVerification.php#L162)
+- [SiteVerification.php#L120](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/SiteVerification.php#L120)
+- [SiteVerification.php#L162](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Google/SiteVerification.php#L162)
## woocommerce_gla_tax_excluded
@@ -794,7 +803,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L594](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/WCProductAdapter.php#L594)
+- [WCProductAdapter.php#L594](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/WCProductAdapter.php#L594)
## woocommerce_gla_track_event
@@ -802,11 +811,11 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [SetupCompleteController.php#L75](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Site/Controllers/Ads/SetupCompleteController.php#L75)
-- [CampaignController.php#L151](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Site/Controllers/Ads/CampaignController.php#L151)
-- [CampaignController.php#L229](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Site/Controllers/Ads/CampaignController.php#L229)
-- [CampaignController.php#L267](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Site/Controllers/Ads/CampaignController.php#L267)
-- [SettingsSyncController.php#L83](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/API/Site/Controllers/MerchantCenter/SettingsSyncController.php#L83)
+- [SetupCompleteController.php#L75](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Site/Controllers/Ads/SetupCompleteController.php#L75)
+- [CampaignController.php#L151](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Site/Controllers/Ads/CampaignController.php#L151)
+- [CampaignController.php#L229](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Site/Controllers/Ads/CampaignController.php#L229)
+- [CampaignController.php#L267](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Site/Controllers/Ads/CampaignController.php#L267)
+- [SettingsSyncController.php#L83](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/API/Site/Controllers/MerchantCenter/SettingsSyncController.php#L83)
## woocommerce_gla_updated_coupon
@@ -814,7 +823,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [CouponSyncer.php#L169](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Coupon/CouponSyncer.php#L169)
+- [CouponSyncer.php#L169](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Coupon/CouponSyncer.php#L169)
## woocommerce_gla_url_switch_required
@@ -822,7 +831,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [AccountService.php#L445](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/MerchantCenter/AccountService.php#L445)
+- [AccountService.php#L445](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/MerchantCenter/AccountService.php#L445)
## woocommerce_gla_url_switch_success
@@ -830,7 +839,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [AccountService.php#L468](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/MerchantCenter/AccountService.php#L468)
+- [AccountService.php#L468](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/MerchantCenter/AccountService.php#L468)
## woocommerce_gla_use_short_description
@@ -838,7 +847,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L297](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/WCProductAdapter.php#L297)
+- [WCProductAdapter.php#L297](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/WCProductAdapter.php#L297)
## woocommerce_gla_wcs_url
@@ -846,8 +855,8 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [PluginHelper.php#L174](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/PluginHelper.php#L174)
-- [PluginHelper.php#L178](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/PluginHelper.php#L178)
+- [PluginHelper.php#L174](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/PluginHelper.php#L174)
+- [PluginHelper.php#L178](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/PluginHelper.php#L178)
## woocommerce_gla_weight_unit
@@ -855,7 +864,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L431](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/WCProductAdapter.php#L431)
+- [WCProductAdapter.php#L431](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/WCProductAdapter.php#L431)
## woocommerce_hide_invisible_variations
@@ -863,5 +872,5 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ProductHelper.php#L389](https://github.com/woocommerce/google-listings-and-ads/blob/161a91c04f81e349b1504eafb1ec9526a92ccf53/src/Product/ProductHelper.php#L389)
+- [ProductHelper.php#L389](https://github.com/woocommerce/google-listings-and-ads/blob/f07ed3279d06e799db61e4a1808cb31b99b8e103/src/Product/ProductHelper.php#L389)
diff --git a/src/Proxies/GoogleGtagJs.php b/src/Proxies/GoogleGtagJs.php
index 3b6f88726a..325afd2514 100644
--- a/src/Proxies/GoogleGtagJs.php
+++ b/src/Proxies/GoogleGtagJs.php
@@ -16,13 +16,15 @@ class GoogleGtagJs {
/**
* GoogleGtagJs constructor.
*
- * Load the WooCommerce Google Analytics Integration extension settings.
+ * Load the WooCommerce Google Analytics for WooCommerce extension settings.
*/
public function __construct() {
$this->wcga_settings = get_option( 'woocommerce_google_analytics_settings', [] );
// Prime some values.
- if ( empty( $this->wcga_settings['ga_gtag_enabled'] ) ) {
+ if ( defined( '\WC_GOOGLE_ANALYTICS_INTEGRATION_VERSION' ) && version_compare( \WC_GOOGLE_ANALYTICS_INTEGRATION_VERSION, '2.0.0', '>=' ) ) {
+ $this->wcga_settings['ga_gtag_enabled'] = 'yes';
+ } elseif ( empty( $this->wcga_settings['ga_gtag_enabled'] ) ) {
$this->wcga_settings['ga_gtag_enabled'] = 'no';
}
if ( empty( $this->wcga_settings['ga_standard_tracking_enabled'] ) ) {
@@ -34,20 +36,20 @@ public function __construct() {
}
/**
- * Determine whether WooCommerce Google Analytics Integration is already
+ * Determine whether WooCommerce Google Analytics for WooCommerce is already
* injecting the gtag