- integration_status_response['errors'] ) ? wp_kses_post( json_encode( $this->integration_status_response['errors'] ) ) ?? '' : '-'; ?>
+ integration_status_response['errors'] ) ? wp_kses_post( wp_json_encode( $this->integration_status_response['errors'] ) ) ?? '' : '-'; ?>
|
diff --git a/src/Coupon/CouponSyncer.php b/src/Coupon/CouponSyncer.php
index 7b88ae48f8..4a06b807a1 100644
--- a/src/Coupon/CouponSyncer.php
+++ b/src/Coupon/CouponSyncer.php
@@ -142,7 +142,7 @@ public function update( WC_Coupon $coupon ) {
sprintf(
'Skipping coupon (ID: %s) because it does not pass validation: %s',
$coupon->get_id(),
- json_encode( $validation_result )
+ wp_json_encode( $validation_result )
),
__METHOD__
);
@@ -156,7 +156,7 @@ public function update( WC_Coupon $coupon ) {
sprintf(
'Start to upload coupon (ID: %s) as promotion structure: %s',
$coupon->get_id(),
- json_encode( $adapted_coupon )
+ wp_json_encode( $adapted_coupon )
),
__METHOD__
);
@@ -172,7 +172,7 @@ public function update( WC_Coupon $coupon ) {
'woocommerce_gla_debug_message',
sprintf(
"Submitted promotion:\n%s",
- json_encode( $adapted_coupon )
+ wp_json_encode( $adapted_coupon )
),
__METHOD__
);
@@ -195,7 +195,7 @@ public function update( WC_Coupon $coupon ) {
'woocommerce_gla_debug_message',
sprintf(
"Promotion failed to sync with Merchant Center:\n%s",
- json_encode( $invalid_promotion )
+ wp_json_encode( $invalid_promotion )
),
__METHOD__
);
@@ -261,7 +261,7 @@ public function delete( DeleteCouponEntry $coupon ) {
sprintf(
'Start to delete coupon (ID: %s) as promotion structure: %s',
$coupon->get_wc_coupon_id(),
- json_encode( $adapted_coupon )
+ wp_json_encode( $adapted_coupon )
),
__METHOD__
);
@@ -310,7 +310,7 @@ public function delete( DeleteCouponEntry $coupon ) {
sprintf(
"Failed to delete %s promotions from Merchant Center:\n%s",
count( $invalid_promotions ),
- json_encode( $invalid_promotions )
+ wp_json_encode( $invalid_promotions )
),
__METHOD__
);
@@ -329,7 +329,7 @@ public function delete( DeleteCouponEntry $coupon ) {
sprintf(
"Deleted %s promoitons:\n%s",
count( $deleted_promotions ),
- json_encode( $deleted_promotions )
+ wp_json_encode( $deleted_promotions )
),
__METHOD__
);
diff --git a/src/DB/Migration/Migration20211228T1640692399.php b/src/DB/Migration/Migration20211228T1640692399.php
index 9e5ea7b959..ee044d76c3 100644
--- a/src/DB/Migration/Migration20211228T1640692399.php
+++ b/src/DB/Migration/Migration20211228T1640692399.php
@@ -65,7 +65,7 @@ public function apply(): void {
if ( isset( $mc_settings['offers_free_shipping'] ) && false !== boolval( $mc_settings['offers_free_shipping'] ) && isset( $mc_settings['free_shipping_threshold'] ) ) {
// Move the free shipping threshold from the options to the shipping rate table.
- $options_json = json_encode( [ 'free_shipping_threshold' => (float) $mc_settings['free_shipping_threshold'] ] );
+ $options_json = wp_json_encode( [ 'free_shipping_threshold' => (float) $mc_settings['free_shipping_threshold'] ] );
// phpcs:disable WordPress.DB.PreparedSQL.NotPrepared
// phpcs:disable WordPress.DB.PreparedSQL.InterpolatedNotPrepared
diff --git a/src/DB/Query/ShippingRateQuery.php b/src/DB/Query/ShippingRateQuery.php
index e20657baf4..17770201e4 100644
--- a/src/DB/Query/ShippingRateQuery.php
+++ b/src/DB/Query/ShippingRateQuery.php
@@ -46,7 +46,7 @@ protected function sanitize_value( string $column, $value ) {
throw InvalidQuery::invalid_value( $column );
}
- $value = json_encode( $value );
+ $value = wp_json_encode( $value );
}
return $value;
diff --git a/src/DB/Table/AttributeMappingRulesTable.php b/src/DB/Table/AttributeMappingRulesTable.php
index 972dd467b8..8a70ad0d17 100644
--- a/src/DB/Table/AttributeMappingRulesTable.php
+++ b/src/DB/Table/AttributeMappingRulesTable.php
@@ -22,7 +22,7 @@ class AttributeMappingRulesTable extends Table {
* @return string
*/
protected function get_install_query(): string {
- return <<< SQL
+ return "
CREATE TABLE `{$this->get_sql_safe_name()}` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`attribute` varchar(255) NOT NULL,
@@ -31,7 +31,7 @@ protected function get_install_query(): string {
`categories` text NOT NULL,
PRIMARY KEY `id` (`id`)
) {$this->get_collation()};
-SQL;
+";
}
/**
diff --git a/src/DB/Table/BudgetRecommendationTable.php b/src/DB/Table/BudgetRecommendationTable.php
index 811b633137..07aae28f1d 100644
--- a/src/DB/Table/BudgetRecommendationTable.php
+++ b/src/DB/Table/BudgetRecommendationTable.php
@@ -29,7 +29,7 @@ class BudgetRecommendationTable extends Table {
* @return string
*/
protected function get_install_query(): string {
- return <<< SQL
+ return "
CREATE TABLE `{$this->get_sql_safe_name()}` (
id bigint(20) NOT NULL AUTO_INCREMENT,
currency varchar(3) NOT NULL,
@@ -38,7 +38,7 @@ protected function get_install_query(): string {
PRIMARY KEY (id),
UNIQUE KEY country_currency (country, currency)
) {$this->get_collation()};
-SQL;
+";
}
/**
diff --git a/src/DB/Table/MerchantIssueTable.php b/src/DB/Table/MerchantIssueTable.php
index 37602ec3e7..6e221eb8be 100644
--- a/src/DB/Table/MerchantIssueTable.php
+++ b/src/DB/Table/MerchantIssueTable.php
@@ -23,7 +23,7 @@ class MerchantIssueTable extends Table {
* @return string
*/
protected function get_install_query(): string {
- return <<< SQL
+ return "
CREATE TABLE `{$this->get_sql_safe_name()}` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`product_id` bigint(20) NOT NULL,
@@ -39,7 +39,7 @@ protected function get_install_query(): string {
`created_at` datetime NOT NULL,
PRIMARY KEY `id` (`id`)
) {$this->get_collation()};
-SQL;
+";
}
/**
diff --git a/src/DB/Table/ShippingRateTable.php b/src/DB/Table/ShippingRateTable.php
index 435298109a..6e233e0816 100644
--- a/src/DB/Table/ShippingRateTable.php
+++ b/src/DB/Table/ShippingRateTable.php
@@ -22,7 +22,7 @@ class ShippingRateTable extends Table {
* @return string
*/
protected function get_install_query(): string {
- return <<< SQL
+ return "
CREATE TABLE `{$this->get_sql_safe_name()}` (
id bigint(20) NOT NULL AUTO_INCREMENT,
country varchar(2) NOT NULL,
@@ -33,7 +33,7 @@ protected function get_install_query(): string {
KEY country (country),
KEY currency (currency)
) {$this->get_collation()};
-SQL;
+";
}
/**
diff --git a/src/DB/Table/ShippingTimeTable.php b/src/DB/Table/ShippingTimeTable.php
index 23d05ead8f..da1404ff7d 100644
--- a/src/DB/Table/ShippingTimeTable.php
+++ b/src/DB/Table/ShippingTimeTable.php
@@ -22,7 +22,7 @@ class ShippingTimeTable extends Table {
* @return string
*/
protected function get_install_query(): string {
- return <<< SQL
+ return "
CREATE TABLE `{$this->get_sql_safe_name()}` (
id bigint(20) NOT NULL AUTO_INCREMENT,
country varchar(2) NOT NULL,
@@ -31,7 +31,7 @@ protected function get_install_query(): string {
PRIMARY KEY (id),
KEY country (country)
) {$this->get_collation()};
-SQL;
+";
}
/**
diff --git a/src/Hooks/README.md b/src/Hooks/README.md
index f021000c85..4888221b71 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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Admin/BulkEdit/BulkEditInitializer.php#L36)
+- [BulkEditInitializer.php#L36](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Admin/BulkEdit/BulkEditInitializer.php#L36)
## jetpack_verify_api_authorization_request_error_double_encode
@@ -16,7 +16,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [JetpackWPCOM.php#L223](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Integration/JetpackWPCOM.php#L223)
+- [JetpackWPCOM.php#L223](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Integration/JetpackWPCOM.php#L223)
## woocommerce_admin_disabled
@@ -24,7 +24,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Internal/Requirements/WCAdminValidator.php#L38)
+- [WCAdminValidator.php#L38](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Internal/Requirements/WCAdminValidator.php#L38)
## woocommerce_gla_ads_billing_setup_status
@@ -32,8 +32,8 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [Ads.php#L113](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Ads.php#L113)
-- [Ads.php#L122](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Ads.php#L122)
+- [Ads.php#L113](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Ads.php#L113)
+- [Ads.php#L122](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Ads.php#L122)
## woocommerce_gla_ads_client_exception
@@ -41,24 +41,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/AdsAssetGroupAsset.php#L135)
-- [AdsAssetGroupAsset.php#L201](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/AdsAssetGroupAsset.php#L201)
-- [AdsConversionAction.php#L100](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/AdsConversionAction.php#L100)
-- [AdsConversionAction.php#L146](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/AdsConversionAction.php#L146)
-- [Ads.php#L74](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Ads.php#L74)
-- [Ads.php#L118](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Ads.php#L118)
-- [Ads.php#L167](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Ads.php#L167)
-- [Ads.php#L209](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Ads.php#L209)
-- [Ads.php#L319](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Ads.php#L319)
-- [AdsAssetGroup.php#L108](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/AdsAssetGroup.php#L108)
-- [AdsAssetGroup.php#L257](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/AdsAssetGroup.php#L257)
-- [AdsAssetGroup.php#L321](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/AdsAssetGroup.php#L321)
-- [AdsCampaign.php#L155](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/AdsCampaign.php#L155)
-- [AdsCampaign.php#L198](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/AdsCampaign.php#L198)
-- [AdsCampaign.php#L265](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/AdsCampaign.php#L265)
-- [AdsCampaign.php#L320](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/AdsCampaign.php#L320)
-- [AdsCampaign.php#L357](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/AdsCampaign.php#L357)
-- [AdsReport.php#L105](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/AdsReport.php#L105)
+- [AdsAssetGroupAsset.php#L135](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/AdsAssetGroupAsset.php#L135)
+- [AdsAssetGroupAsset.php#L201](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/AdsAssetGroupAsset.php#L201)
+- [AdsConversionAction.php#L100](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/AdsConversionAction.php#L100)
+- [AdsConversionAction.php#L146](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/AdsConversionAction.php#L146)
+- [Ads.php#L74](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Ads.php#L74)
+- [Ads.php#L118](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Ads.php#L118)
+- [Ads.php#L167](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Ads.php#L167)
+- [Ads.php#L209](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Ads.php#L209)
+- [Ads.php#L319](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Ads.php#L319)
+- [AdsAssetGroup.php#L108](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/AdsAssetGroup.php#L108)
+- [AdsAssetGroup.php#L257](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/AdsAssetGroup.php#L257)
+- [AdsAssetGroup.php#L321](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/AdsAssetGroup.php#L321)
+- [AdsCampaign.php#L155](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/AdsCampaign.php#L155)
+- [AdsCampaign.php#L198](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/AdsCampaign.php#L198)
+- [AdsCampaign.php#L265](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/AdsCampaign.php#L265)
+- [AdsCampaign.php#L320](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/AdsCampaign.php#L320)
+- [AdsCampaign.php#L357](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/AdsCampaign.php#L357)
+- [AdsReport.php#L105](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/AdsReport.php#L105)
## woocommerce_gla_ads_setup_completed
@@ -66,7 +66,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Site/Controllers/Ads/SetupCompleteController.php#L66)
+- [SetupCompleteController.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Site/Controllers/Ads/SetupCompleteController.php#L66)
## woocommerce_gla_attribute_applicable_product_types_
@@ -74,8 +74,8 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [AttributesForm.php#L99](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Admin/Product/Attributes/AttributesForm.php#L99)
-- [AttributeManager.php#L368](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/Attributes/AttributeManager.php#L368)
+- [AttributesForm.php#L99](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Admin/Product/Attributes/AttributesForm.php#L99)
+- [AttributeManager.php#L368](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/Attributes/AttributeManager.php#L368)
## woocommerce_gla_attribute_hidden_product_types_
@@ -83,7 +83,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [AttributesForm.php#L104](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Admin/Product/Attributes/AttributesForm.php#L104)
+- [AttributesForm.php#L104](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Admin/Product/Attributes/AttributesForm.php#L104)
## woocommerce_gla_attribute_mapping_sources
@@ -91,7 +91,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L31)
+- [IsFieldTrait.php#L31](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L31)
## woocommerce_gla_attribute_mapping_sources_custom_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#L125](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L125)
+- [IsFieldTrait.php#L125](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L125)
## woocommerce_gla_attribute_mapping_sources_global_attributes
@@ -107,7 +107,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L64)
+- [IsFieldTrait.php#L64](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L64)
## woocommerce_gla_attribute_mapping_sources_product_fields
@@ -115,7 +115,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L115)
+- [IsFieldTrait.php#L115](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L115)
## woocommerce_gla_attribute_mapping_sources_taxonomies
@@ -123,7 +123,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L65)
+- [IsFieldTrait.php#L65](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L65)
## woocommerce_gla_attributes_tab_applicable_product_types
@@ -131,7 +131,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Admin/Product/Attributes/AttributesTrait.php#L18)
+- [AttributesTrait.php#L18](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Admin/Product/Attributes/AttributesTrait.php#L18)
## woocommerce_gla_batch_deleted_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#L228](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductSyncer.php#L228)
+- [ProductSyncer.php#L228](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductSyncer.php#L228)
## woocommerce_gla_batch_retry_delete_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#L342](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductSyncer.php#L342)
+- [ProductSyncer.php#L342](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductSyncer.php#L342)
## woocommerce_gla_batch_retry_update_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#L286](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductSyncer.php#L286)
+- [ProductSyncer.php#L286](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductSyncer.php#L286)
## woocommerce_gla_batch_updated_products
@@ -163,7 +163,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ProductSyncer.php#L142](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductSyncer.php#L142)
+- [ProductSyncer.php#L142](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductSyncer.php#L142)
## woocommerce_gla_batched_cli_size
@@ -171,7 +171,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WPCLIMigrationGTIN.php#L151](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Utility/WPCLIMigrationGTIN.php#L151)
+- [WPCLIMigrationGTIN.php#L151](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Utility/WPCLIMigrationGTIN.php#L151)
## woocommerce_gla_batched_job_size
@@ -179,8 +179,8 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [AbstractBatchedActionSchedulerJob.php#L104](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Jobs/AbstractBatchedActionSchedulerJob.php#L104)
-- [UpdateSyncableProductsCount.php#L74](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Jobs/UpdateSyncableProductsCount.php#L74)
+- [AbstractBatchedActionSchedulerJob.php#L104](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Jobs/AbstractBatchedActionSchedulerJob.php#L104)
+- [UpdateSyncableProductsCount.php#L74](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Jobs/UpdateSyncableProductsCount.php#L74)
## woocommerce_gla_bulk_update_coupon
@@ -188,7 +188,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Admin/BulkEdit/CouponBulkEdit.php#L133)
+- [CouponBulkEdit.php#L133](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Admin/BulkEdit/CouponBulkEdit.php#L133)
## woocommerce_gla_conversion_action_name
@@ -196,7 +196,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [AdsConversionAction.php#L67](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/AdsConversionAction.php#L67)
+- [AdsConversionAction.php#L67](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/AdsConversionAction.php#L67)
## woocommerce_gla_coupon_destinations
@@ -204,7 +204,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCCouponAdapter.php#L407](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/WCCouponAdapter.php#L407)
+- [WCCouponAdapter.php#L407](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/WCCouponAdapter.php#L407)
## woocommerce_gla_coupon_is_ready_to_notify
@@ -212,7 +212,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [CouponHelper.php#L359](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponHelper.php#L359)
+- [CouponHelper.php#L359](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponHelper.php#L359)
## woocommerce_gla_coupons_delete_retry_on_failure
@@ -220,7 +220,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponSyncer.php#L438)
+- [CouponSyncer.php#L438](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponSyncer.php#L438)
## woocommerce_gla_coupons_update_retry_on_failure
@@ -228,7 +228,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponSyncer.php#L400)
+- [CouponSyncer.php#L400](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponSyncer.php#L400)
## woocommerce_gla_custom_merchant_issues
@@ -236,7 +236,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [MerchantStatuses.php#L538](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/MerchantCenter/MerchantStatuses.php#L538)
+- [MerchantStatuses.php#L538](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/MerchantCenter/MerchantStatuses.php#L538)
## woocommerce_gla_debug_message
@@ -244,39 +244,39 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [NotificationsService.php#L128](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/WP/NotificationsService.php#L128)
-- [IssuesController.php#L95](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Site/Controllers/MerchantCenter/IssuesController.php#L95)
-- [CouponHelper.php#L272](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponHelper.php#L272)
-- [CouponHelper.php#L309](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponHelper.php#L309)
-- [CouponSyncer.php#L103](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponSyncer.php#L103)
-- [CouponSyncer.php#L116](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponSyncer.php#L116)
-- [CouponSyncer.php#L141](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponSyncer.php#L141)
-- [CouponSyncer.php#L155](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponSyncer.php#L155)
-- [CouponSyncer.php#L172](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponSyncer.php#L172)
-- [CouponSyncer.php#L195](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponSyncer.php#L195)
-- [CouponSyncer.php#L260](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponSyncer.php#L260)
-- [CouponSyncer.php#L309](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponSyncer.php#L309)
-- [CouponSyncer.php#L328](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponSyncer.php#L328)
-- [SyncerHooks.php#L223](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/SyncerHooks.php#L223)
-- [ActionSchedulerJobMonitor.php#L117](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Jobs/ActionSchedulerJobMonitor.php#L117)
-- [ActionSchedulerJobMonitor.php#L126](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Jobs/ActionSchedulerJobMonitor.php#L126)
-- [MigrateGTIN.php#L169](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Jobs/MigrateGTIN.php#L169)
-- [CleanupSyncedProducts.php#L74](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Jobs/CleanupSyncedProducts.php#L74)
-- [ProductRepository.php#L315](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductRepository.php#L315)
-- [BatchProductHelper.php#L208](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/BatchProductHelper.php#L208)
-- [BatchProductHelper.php#L231](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/BatchProductHelper.php#L231)
-- [ProductHelper.php#L612](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductHelper.php#L612)
-- [ProductHelper.php#L645](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductHelper.php#L645)
-- [ProductSyncer.php#L148](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductSyncer.php#L148)
-- [ProductSyncer.php#L158](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductSyncer.php#L158)
-- [ProductSyncer.php#L234](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductSyncer.php#L234)
-- [ProductSyncer.php#L244](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductSyncer.php#L244)
-- [SyncerHooks.php#L239](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/SyncerHooks.php#L239)
-- [WCProductAdapter.php#L206](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/WCProductAdapter.php#L206)
-- [MerchantCenterService.php#L320](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/MerchantCenter/MerchantCenterService.php#L320)
-- [MerchantStatuses.php#L413](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/MerchantCenter/MerchantStatuses.php#L413)
-- [MerchantStatuses.php#L667](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/MerchantCenter/MerchantStatuses.php#L667)
-- [MerchantStatuses.php#L916](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/MerchantCenter/MerchantStatuses.php#L916)
+- [NotificationsService.php#L128](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/WP/NotificationsService.php#L128)
+- [IssuesController.php#L95](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Site/Controllers/MerchantCenter/IssuesController.php#L95)
+- [CouponHelper.php#L272](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponHelper.php#L272)
+- [CouponHelper.php#L309](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponHelper.php#L309)
+- [CouponSyncer.php#L103](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponSyncer.php#L103)
+- [CouponSyncer.php#L116](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponSyncer.php#L116)
+- [CouponSyncer.php#L141](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponSyncer.php#L141)
+- [CouponSyncer.php#L155](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponSyncer.php#L155)
+- [CouponSyncer.php#L172](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponSyncer.php#L172)
+- [CouponSyncer.php#L195](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponSyncer.php#L195)
+- [CouponSyncer.php#L260](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponSyncer.php#L260)
+- [CouponSyncer.php#L309](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponSyncer.php#L309)
+- [CouponSyncer.php#L328](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponSyncer.php#L328)
+- [SyncerHooks.php#L223](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/SyncerHooks.php#L223)
+- [ActionSchedulerJobMonitor.php#L117](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Jobs/ActionSchedulerJobMonitor.php#L117)
+- [ActionSchedulerJobMonitor.php#L126](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Jobs/ActionSchedulerJobMonitor.php#L126)
+- [MigrateGTIN.php#L169](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Jobs/MigrateGTIN.php#L169)
+- [CleanupSyncedProducts.php#L74](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Jobs/CleanupSyncedProducts.php#L74)
+- [ProductRepository.php#L315](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductRepository.php#L315)
+- [BatchProductHelper.php#L208](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/BatchProductHelper.php#L208)
+- [BatchProductHelper.php#L231](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/BatchProductHelper.php#L231)
+- [ProductHelper.php#L612](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductHelper.php#L612)
+- [ProductHelper.php#L645](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductHelper.php#L645)
+- [ProductSyncer.php#L148](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductSyncer.php#L148)
+- [ProductSyncer.php#L158](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductSyncer.php#L158)
+- [ProductSyncer.php#L234](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductSyncer.php#L234)
+- [ProductSyncer.php#L244](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductSyncer.php#L244)
+- [SyncerHooks.php#L239](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/SyncerHooks.php#L239)
+- [WCProductAdapter.php#L206](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/WCProductAdapter.php#L206)
+- [MerchantCenterService.php#L320](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/MerchantCenter/MerchantCenterService.php#L320)
+- [MerchantStatuses.php#L413](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/MerchantCenter/MerchantStatuses.php#L413)
+- [MerchantStatuses.php#L667](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/MerchantCenter/MerchantStatuses.php#L667)
+- [MerchantStatuses.php#L916](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/MerchantCenter/MerchantStatuses.php#L916)
## woocommerce_gla_deleted_promotions
@@ -284,7 +284,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponSyncer.php#L322)
+- [CouponSyncer.php#L322](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponSyncer.php#L322)
## woocommerce_gla_dimension_unit
@@ -292,7 +292,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L432](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/WCProductAdapter.php#L432)
+- [WCProductAdapter.php#L432](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/WCProductAdapter.php#L432)
## woocommerce_gla_disable_gtag_tracking
@@ -300,7 +300,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [GlobalSiteTag.php#L545](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Google/GlobalSiteTag.php#L545)
+- [GlobalSiteTag.php#L545](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Google/GlobalSiteTag.php#L545)
## woocommerce_gla_enable_connection_test
@@ -308,7 +308,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ConnectionTest.php#L90](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/ConnectionTest.php#L90)
+- [ConnectionTest.php#L90](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/ConnectionTest.php#L90)
## woocommerce_gla_enable_debug_logging
@@ -316,7 +316,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Logging/DebugLogger.php#L33)
+- [DebugLogger.php#L33](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Logging/DebugLogger.php#L33)
## woocommerce_gla_enable_mcm
@@ -324,7 +324,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [GLAChannel.php#L86](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/MultichannelMarketing/GLAChannel.php#L86)
+- [GLAChannel.php#L86](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/MultichannelMarketing/GLAChannel.php#L86)
## woocommerce_gla_enable_reports
@@ -332,7 +332,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [Admin.php#L268](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Admin/Admin.php#L268)
+- [Admin.php#L268](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Admin/Admin.php#L268)
## woocommerce_gla_error
@@ -340,29 +340,29 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ProductMetaQueryHelper.php#L87](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/DB/ProductMetaQueryHelper.php#L87)
-- [PHPView.php#L136](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/View/PHPView.php#L136)
-- [PHPView.php#L164](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/View/PHPView.php#L164)
-- [PHPView.php#L208](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/View/PHPView.php#L208)
-- [NotificationsService.php#L145](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/WP/NotificationsService.php#L145)
-- [OAuthService.php#L244](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/WP/OAuthService.php#L244)
-- [CouponSyncer.php#L410](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponSyncer.php#L410)
-- [CouponSyncer.php#L448](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponSyncer.php#L448)
-- [CouponSyncer.php#L466](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponSyncer.php#L466)
-- [CouponSyncer.php#L481](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponSyncer.php#L481)
-- [CouponMetaHandler.php#L227](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponMetaHandler.php#L227)
-- [AbstractItemNotificationJob.php#L28](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Jobs/Notifications/AbstractItemNotificationJob.php#L28)
-- [AbstractItemNotificationJob.php#L46](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Jobs/Notifications/AbstractItemNotificationJob.php#L46)
-- [AttributeManager.php#L342](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/Attributes/AttributeManager.php#L342)
-- [ProductMetaHandler.php#L178](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductMetaHandler.php#L178)
-- [BatchProductHelper.php#L248](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/BatchProductHelper.php#L248)
-- [ProductHelper.php#L504](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductHelper.php#L504)
-- [ProductHelper.php#L721](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductHelper.php#L721)
-- [ProductSyncer.php#L289](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductSyncer.php#L289)
-- [ProductSyncer.php#L312](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductSyncer.php#L312)
-- [ProductSyncer.php#L345](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductSyncer.php#L345)
-- [ProductSyncer.php#L360](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductSyncer.php#L360)
-- [ProductSyncer.php#L367](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductSyncer.php#L367)
+- [ProductMetaQueryHelper.php#L87](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/DB/ProductMetaQueryHelper.php#L87)
+- [PHPView.php#L136](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/View/PHPView.php#L136)
+- [PHPView.php#L164](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/View/PHPView.php#L164)
+- [PHPView.php#L208](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/View/PHPView.php#L208)
+- [NotificationsService.php#L145](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/WP/NotificationsService.php#L145)
+- [OAuthService.php#L244](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/WP/OAuthService.php#L244)
+- [CouponSyncer.php#L410](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponSyncer.php#L410)
+- [CouponSyncer.php#L448](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponSyncer.php#L448)
+- [CouponSyncer.php#L466](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponSyncer.php#L466)
+- [CouponSyncer.php#L481](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponSyncer.php#L481)
+- [CouponMetaHandler.php#L227](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponMetaHandler.php#L227)
+- [AbstractItemNotificationJob.php#L28](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Jobs/Notifications/AbstractItemNotificationJob.php#L28)
+- [AbstractItemNotificationJob.php#L46](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Jobs/Notifications/AbstractItemNotificationJob.php#L46)
+- [AttributeManager.php#L342](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/Attributes/AttributeManager.php#L342)
+- [ProductMetaHandler.php#L178](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductMetaHandler.php#L178)
+- [BatchProductHelper.php#L248](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/BatchProductHelper.php#L248)
+- [ProductHelper.php#L504](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductHelper.php#L504)
+- [ProductHelper.php#L721](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductHelper.php#L721)
+- [ProductSyncer.php#L289](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductSyncer.php#L289)
+- [ProductSyncer.php#L312](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductSyncer.php#L312)
+- [ProductSyncer.php#L345](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductSyncer.php#L345)
+- [ProductSyncer.php#L360](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductSyncer.php#L360)
+- [ProductSyncer.php#L367](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductSyncer.php#L367)
## woocommerce_gla_exception
@@ -370,33 +370,33 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [PHPView.php#L87](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/View/PHPView.php#L87)
-- [Middleware.php#L448](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Middleware.php#L448)
-- [Connection.php#L95](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Connection.php#L95)
-- [RequestReviewController.php#L284](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Site/Controllers/MerchantCenter/RequestReviewController.php#L284)
-- [RequestReviewController.php#L329](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Site/Controllers/MerchantCenter/RequestReviewController.php#L329)
-- [SettingsSyncController.php#L96](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Site/Controllers/MerchantCenter/SettingsSyncController.php#L96)
-- [ContactInformationController.php#L242](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Site/Controllers/MerchantCenter/ContactInformationController.php#L242)
-- [ProductVisibilityController.php#L193](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Site/Controllers/MerchantCenter/ProductVisibilityController.php#L193)
-- [DateTime.php#L44](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Admin/Input/DateTime.php#L44)
-- [DateTime.php#L80](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Admin/Input/DateTime.php#L80)
-- [ChannelVisibilityMetaBox.php#L176](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Admin/MetaBox/ChannelVisibilityMetaBox.php#L176)
-- [CouponChannelVisibilityMetaBox.php#L197](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Admin/MetaBox/CouponChannelVisibilityMetaBox.php#L197)
-- [CouponSyncer.php#L203](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponSyncer.php#L203)
-- [CouponSyncer.php#L293](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponSyncer.php#L293)
-- [WooCommercePreOrders.php#L111](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Integration/WooCommercePreOrders.php#L111)
-- [WooCommercePreOrders.php#L131](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Integration/WooCommercePreOrders.php#L131)
-- [PluginUpdate.php#L75](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Jobs/Update/PluginUpdate.php#L75)
-- [NoteInitializer.php#L74](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Notes/NoteInitializer.php#L74)
-- [NoteInitializer.php#L116](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Notes/NoteInitializer.php#L116)
-- [ProductHelper.php#L284](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductHelper.php#L284)
-- [ProductSyncer.php#L133](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductSyncer.php#L133)
-- [ProductSyncer.php#L219](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductSyncer.php#L219)
-- [ClearProductStatsCache.php#L61](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Event/ClearProductStatsCache.php#L61)
-- [GoogleServiceProvider.php#L235](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Internal/DependencyManagement/GoogleServiceProvider.php#L235)
-- [GoogleServiceProvider.php#L245](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Internal/DependencyManagement/GoogleServiceProvider.php#L245)
-- [BaseAsset.php#L218](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Assets/BaseAsset.php#L218)
-- [ScriptWithBuiltDependenciesAsset.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Assets/ScriptWithBuiltDependenciesAsset.php#L66)
+- [PHPView.php#L87](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/View/PHPView.php#L87)
+- [Middleware.php#L448](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Middleware.php#L448)
+- [Connection.php#L95](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Connection.php#L95)
+- [RequestReviewController.php#L284](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Site/Controllers/MerchantCenter/RequestReviewController.php#L284)
+- [RequestReviewController.php#L329](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Site/Controllers/MerchantCenter/RequestReviewController.php#L329)
+- [SettingsSyncController.php#L96](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Site/Controllers/MerchantCenter/SettingsSyncController.php#L96)
+- [ContactInformationController.php#L242](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Site/Controllers/MerchantCenter/ContactInformationController.php#L242)
+- [ProductVisibilityController.php#L193](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Site/Controllers/MerchantCenter/ProductVisibilityController.php#L193)
+- [DateTime.php#L44](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Admin/Input/DateTime.php#L44)
+- [DateTime.php#L80](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Admin/Input/DateTime.php#L80)
+- [ChannelVisibilityMetaBox.php#L176](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Admin/MetaBox/ChannelVisibilityMetaBox.php#L176)
+- [CouponChannelVisibilityMetaBox.php#L197](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Admin/MetaBox/CouponChannelVisibilityMetaBox.php#L197)
+- [CouponSyncer.php#L203](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponSyncer.php#L203)
+- [CouponSyncer.php#L293](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponSyncer.php#L293)
+- [WooCommercePreOrders.php#L111](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Integration/WooCommercePreOrders.php#L111)
+- [WooCommercePreOrders.php#L131](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Integration/WooCommercePreOrders.php#L131)
+- [PluginUpdate.php#L75](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Jobs/Update/PluginUpdate.php#L75)
+- [NoteInitializer.php#L74](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Notes/NoteInitializer.php#L74)
+- [NoteInitializer.php#L116](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Notes/NoteInitializer.php#L116)
+- [ProductHelper.php#L284](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductHelper.php#L284)
+- [ProductSyncer.php#L133](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductSyncer.php#L133)
+- [ProductSyncer.php#L219](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductSyncer.php#L219)
+- [ClearProductStatsCache.php#L61](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Event/ClearProductStatsCache.php#L61)
+- [GoogleServiceProvider.php#L235](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Internal/DependencyManagement/GoogleServiceProvider.php#L235)
+- [GoogleServiceProvider.php#L245](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Internal/DependencyManagement/GoogleServiceProvider.php#L245)
+- [BaseAsset.php#L218](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Assets/BaseAsset.php#L218)
+- [ScriptWithBuiltDependenciesAsset.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Assets/ScriptWithBuiltDependenciesAsset.php#L66)
## woocommerce_gla_force_run_install
@@ -404,7 +404,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [Installer.php#L67](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Installer.php#L67)
+- [Installer.php#L67](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Installer.php#L67)
## woocommerce_gla_get_google_product_offer_id
@@ -412,7 +412,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L285](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/WCProductAdapter.php#L285)
+- [WCProductAdapter.php#L285](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/WCProductAdapter.php#L285)
## woocommerce_gla_get_sync_ready_products_filter
@@ -420,7 +420,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductFilter.php#L61)
+- [ProductFilter.php#L61](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductFilter.php#L61)
## woocommerce_gla_get_sync_ready_products_pre_filter
@@ -428,7 +428,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductFilter.php#L47)
+- [ProductFilter.php#L47](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductFilter.php#L47)
## woocommerce_gla_get_wc_product_id
@@ -436,7 +436,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ProductHelper.php#L329](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductHelper.php#L329)
+- [ProductHelper.php#L329](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductHelper.php#L329)
## woocommerce_gla_gtag_consent
@@ -444,7 +444,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [GlobalSiteTag.php#L321](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Google/GlobalSiteTag.php#L321)
+- [GlobalSiteTag.php#L321](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Google/GlobalSiteTag.php#L321)
## woocommerce_gla_gtin_migration_value
@@ -452,7 +452,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [GTINMigrationUtilities.php#L167](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/HelperTraits/GTINMigrationUtilities.php#L167)
+- [GTINMigrationUtilities.php#L167](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/HelperTraits/GTINMigrationUtilities.php#L167)
## woocommerce_gla_guzzle_client_exception
@@ -460,19 +460,19 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [Middleware.php#L72](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Middleware.php#L72)
-- [Middleware.php#L170](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Middleware.php#L170)
-- [Middleware.php#L220](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Middleware.php#L220)
-- [Middleware.php#L265](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Middleware.php#L265)
-- [Middleware.php#L337](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Middleware.php#L337)
-- [Middleware.php#L387](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Middleware.php#L387)
-- [Middleware.php#L411](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Middleware.php#L411)
-- [Middleware.php#L445](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Middleware.php#L445)
-- [Middleware.php#L593](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Middleware.php#L593)
-- [Connection.php#L70](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Connection.php#L70)
-- [Connection.php#L91](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Connection.php#L91)
-- [Connection.php#L126](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Connection.php#L126)
-- [GoogleServiceProvider.php#L264](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Internal/DependencyManagement/GoogleServiceProvider.php#L264)
+- [Middleware.php#L72](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Middleware.php#L72)
+- [Middleware.php#L170](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Middleware.php#L170)
+- [Middleware.php#L220](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Middleware.php#L220)
+- [Middleware.php#L265](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Middleware.php#L265)
+- [Middleware.php#L337](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Middleware.php#L337)
+- [Middleware.php#L387](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Middleware.php#L387)
+- [Middleware.php#L411](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Middleware.php#L411)
+- [Middleware.php#L445](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Middleware.php#L445)
+- [Middleware.php#L593](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Middleware.php#L593)
+- [Connection.php#L70](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Connection.php#L70)
+- [Connection.php#L91](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Connection.php#L91)
+- [Connection.php#L126](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Connection.php#L126)
+- [GoogleServiceProvider.php#L264](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Internal/DependencyManagement/GoogleServiceProvider.php#L264)
## woocommerce_gla_guzzle_invalid_response
@@ -480,15 +480,15 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [Middleware.php#L151](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Middleware.php#L151)
-- [Middleware.php#L215](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Middleware.php#L215)
-- [Middleware.php#L259](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Middleware.php#L259)
-- [Middleware.php#L332](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Middleware.php#L332)
-- [Middleware.php#L382](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Middleware.php#L382)
-- [Middleware.php#L585](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Middleware.php#L585)
-- [Connection.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Connection.php#L66)
-- [Connection.php#L121](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Connection.php#L121)
-- [RequestReviewController.php#L317](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Site/Controllers/MerchantCenter/RequestReviewController.php#L317)
+- [Middleware.php#L151](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Middleware.php#L151)
+- [Middleware.php#L215](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Middleware.php#L215)
+- [Middleware.php#L259](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Middleware.php#L259)
+- [Middleware.php#L332](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Middleware.php#L332)
+- [Middleware.php#L382](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Middleware.php#L382)
+- [Middleware.php#L585](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Middleware.php#L585)
+- [Connection.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Connection.php#L66)
+- [Connection.php#L121](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Connection.php#L121)
+- [RequestReviewController.php#L317](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Site/Controllers/MerchantCenter/RequestReviewController.php#L317)
## woocommerce_gla_handle_shipping_method_to_rates
@@ -496,7 +496,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ZoneMethodsParser.php#L109](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Shipping/ZoneMethodsParser.php#L109)
+- [ZoneMethodsParser.php#L109](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Shipping/ZoneMethodsParser.php#L109)
## woocommerce_gla_hidden_coupon_types
@@ -504,7 +504,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponSyncer.php#L379)
+- [CouponSyncer.php#L379](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponSyncer.php#L379)
## woocommerce_gla_job_failure_rate_threshold
@@ -512,7 +512,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Jobs/ActionSchedulerJobMonitor.php#L186)
+- [ActionSchedulerJobMonitor.php#L186](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Jobs/ActionSchedulerJobMonitor.php#L186)
## woocommerce_gla_job_failure_timeframe
@@ -520,7 +520,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Jobs/ActionSchedulerJobMonitor.php#L195)
+- [ActionSchedulerJobMonitor.php#L195](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Jobs/ActionSchedulerJobMonitor.php#L195)
## woocommerce_gla_mapping_rules_change
@@ -528,9 +528,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Site/Controllers/AttributeMapping/AttributeMappingRulesController.php#L143)
-- [AttributeMappingRulesController.php#L166](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Site/Controllers/AttributeMapping/AttributeMappingRulesController.php#L166)
-- [AttributeMappingRulesController.php#L188](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Site/Controllers/AttributeMapping/AttributeMappingRulesController.php#L188)
+- [AttributeMappingRulesController.php#L143](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Site/Controllers/AttributeMapping/AttributeMappingRulesController.php#L143)
+- [AttributeMappingRulesController.php#L166](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Site/Controllers/AttributeMapping/AttributeMappingRulesController.php#L166)
+- [AttributeMappingRulesController.php#L188](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Site/Controllers/AttributeMapping/AttributeMappingRulesController.php#L188)
## woocommerce_gla_mc_account_review_lifetime
@@ -538,7 +538,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [RequestReviewStatuses.php#L157](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Google/RequestReviewStatuses.php#L157)
+- [RequestReviewStatuses.php#L157](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Google/RequestReviewStatuses.php#L157)
## woocommerce_gla_mc_client_exception
@@ -546,17 +546,17 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [MerchantReport.php#L115](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/MerchantReport.php#L115)
-- [MerchantReport.php#L183](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/MerchantReport.php#L183)
-- [Merchant.php#L95](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Merchant.php#L95)
-- [Merchant.php#L143](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Merchant.php#L143)
-- [Merchant.php#L175](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Merchant.php#L175)
-- [Merchant.php#L194](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Merchant.php#L194)
-- [Merchant.php#L250](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Merchant.php#L250)
-- [Merchant.php#L295](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Merchant.php#L295)
-- [Merchant.php#L357](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Merchant.php#L357)
-- [Merchant.php#L390](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Merchant.php#L390)
-- [Merchant.php#L423](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Merchant.php#L423)
+- [MerchantReport.php#L115](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/MerchantReport.php#L115)
+- [MerchantReport.php#L183](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/MerchantReport.php#L183)
+- [Merchant.php#L95](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Merchant.php#L95)
+- [Merchant.php#L143](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Merchant.php#L143)
+- [Merchant.php#L175](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Merchant.php#L175)
+- [Merchant.php#L194](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Merchant.php#L194)
+- [Merchant.php#L250](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Merchant.php#L250)
+- [Merchant.php#L295](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Merchant.php#L295)
+- [Merchant.php#L357](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Merchant.php#L357)
+- [Merchant.php#L390](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Merchant.php#L390)
+- [Merchant.php#L423](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Merchant.php#L423)
## woocommerce_gla_mc_settings_sync
@@ -564,7 +564,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Site/Controllers/MerchantCenter/SettingsSyncController.php#L69)
+- [SettingsSyncController.php#L69](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Site/Controllers/MerchantCenter/SettingsSyncController.php#L69)
## woocommerce_gla_mc_status_lifetime
@@ -572,7 +572,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [MerchantStatuses.php#L935](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/MerchantCenter/MerchantStatuses.php#L935)
+- [MerchantStatuses.php#L935](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/MerchantCenter/MerchantStatuses.php#L935)
## woocommerce_gla_merchant_issue_override
@@ -580,7 +580,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [IssuesController.php#L85](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Site/Controllers/MerchantCenter/IssuesController.php#L85)
+- [IssuesController.php#L85](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Site/Controllers/MerchantCenter/IssuesController.php#L85)
## woocommerce_gla_merchant_status_presync_issues_chunk
@@ -588,7 +588,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [MerchantStatuses.php#L596](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/MerchantCenter/MerchantStatuses.php#L596)
+- [MerchantStatuses.php#L596](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/MerchantCenter/MerchantStatuses.php#L596)
## woocommerce_gla_notification_job_can_schedule
@@ -596,7 +596,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [AbstractNotificationJob.php#L86](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Jobs/Notifications/AbstractNotificationJob.php#L86)
+- [AbstractNotificationJob.php#L86](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Jobs/Notifications/AbstractNotificationJob.php#L86)
## woocommerce_gla_notifications_enabled
@@ -604,7 +604,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [NotificationsService.php#L187](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/WP/NotificationsService.php#L187)
+- [NotificationsService.php#L187](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/WP/NotificationsService.php#L187)
## woocommerce_gla_notify
@@ -612,7 +612,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [NotificationsService.php#L103](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/WP/NotificationsService.php#L103)
+- [NotificationsService.php#L103](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/WP/NotificationsService.php#L103)
## woocommerce_gla_options_deleted_
@@ -620,7 +620,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Options/Options.php#L103)
+- [Options.php#L103](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Options/Options.php#L103)
## woocommerce_gla_options_updated_
@@ -628,8 +628,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Options/Options.php#L65)
-- [Options.php#L85](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Options/Options.php#L85)
+- [Options.php#L65](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Options/Options.php#L65)
+- [Options.php#L85](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Options/Options.php#L85)
## woocommerce_gla_partner_app_auth_failure
@@ -637,7 +637,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [Middleware.php#L579](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Middleware.php#L579)
+- [Middleware.php#L579](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Middleware.php#L579)
## woocommerce_gla_prepared_response_->GET_ROUTE_NAME
@@ -645,7 +645,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Site/Controllers/BaseController.php#L160)
+- [BaseController.php#L160](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Site/Controllers/BaseController.php#L160)
## woocommerce_gla_product_attribute_types
@@ -653,7 +653,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [AttributeManager.php#L316](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/Attributes/AttributeManager.php#L316)
+- [AttributeManager.php#L316](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/Attributes/AttributeManager.php#L316)
## woocommerce_gla_product_attribute_value_
@@ -661,8 +661,8 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L917](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/WCProductAdapter.php#L917)
-- [WCProductAdapter.php#L991](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/WCProductAdapter.php#L991)
+- [WCProductAdapter.php#L917](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/WCProductAdapter.php#L917)
+- [WCProductAdapter.php#L991](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/WCProductAdapter.php#L991)
## woocommerce_gla_product_attribute_value_description
@@ -670,7 +670,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L353](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/WCProductAdapter.php#L353)
+- [WCProductAdapter.php#L353](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/WCProductAdapter.php#L353)
## woocommerce_gla_product_attribute_value_options_::get_id
@@ -678,7 +678,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [AttributesForm.php#L128](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Admin/Product/Attributes/AttributesForm.php#L128)
+- [AttributesForm.php#L128](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Admin/Product/Attributes/AttributesForm.php#L128)
## woocommerce_gla_product_attribute_value_price
@@ -686,7 +686,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L641](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/WCProductAdapter.php#L641)
+- [WCProductAdapter.php#L641](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/WCProductAdapter.php#L641)
## woocommerce_gla_product_attribute_value_sale_price
@@ -694,7 +694,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L693](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/WCProductAdapter.php#L693)
+- [WCProductAdapter.php#L693](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/WCProductAdapter.php#L693)
## woocommerce_gla_product_attribute_values
@@ -702,7 +702,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L167](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/WCProductAdapter.php#L167)
+- [WCProductAdapter.php#L167](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/WCProductAdapter.php#L167)
## woocommerce_gla_product_description_apply_shortcodes
@@ -710,7 +710,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L322](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/WCProductAdapter.php#L322)
+- [WCProductAdapter.php#L322](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/WCProductAdapter.php#L322)
## woocommerce_gla_product_is_ready_to_notify
@@ -718,7 +718,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ProductHelper.php#L413](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductHelper.php#L413)
+- [ProductHelper.php#L413](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductHelper.php#L413)
## woocommerce_gla_product_property_value_is_virtual
@@ -726,7 +726,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L783](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/WCProductAdapter.php#L783)
+- [WCProductAdapter.php#L783](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/WCProductAdapter.php#L783)
## woocommerce_gla_product_query_args
@@ -734,7 +734,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ProductRepository.php#L376](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductRepository.php#L376)
+- [ProductRepository.php#L376](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductRepository.php#L376)
## woocommerce_gla_product_view_report_page_size
@@ -742,7 +742,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [MerchantReport.php#L68](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/MerchantReport.php#L68)
+- [MerchantReport.php#L68](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/MerchantReport.php#L68)
## woocommerce_gla_products_delete_retry_on_failure
@@ -750,7 +750,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ProductSyncer.php#L341](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductSyncer.php#L341)
+- [ProductSyncer.php#L341](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductSyncer.php#L341)
## woocommerce_gla_products_update_retry_on_failure
@@ -758,7 +758,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ProductSyncer.php#L285](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductSyncer.php#L285)
+- [ProductSyncer.php#L285](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductSyncer.php#L285)
## woocommerce_gla_ready_for_syncing
@@ -766,7 +766,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [MerchantCenterService.php#L121](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/MerchantCenter/MerchantCenterService.php#L121)
+- [MerchantCenterService.php#L121](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/MerchantCenter/MerchantCenterService.php#L121)
## woocommerce_gla_request_review_failure
@@ -774,9 +774,9 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [RequestReviewController.php#L113](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Site/Controllers/MerchantCenter/RequestReviewController.php#L113)
-- [RequestReviewController.php#L125](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Site/Controllers/MerchantCenter/RequestReviewController.php#L125)
-- [RequestReviewController.php#L310](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Site/Controllers/MerchantCenter/RequestReviewController.php#L310)
+- [RequestReviewController.php#L113](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Site/Controllers/MerchantCenter/RequestReviewController.php#L113)
+- [RequestReviewController.php#L125](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Site/Controllers/MerchantCenter/RequestReviewController.php#L125)
+- [RequestReviewController.php#L310](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Site/Controllers/MerchantCenter/RequestReviewController.php#L310)
## woocommerce_gla_request_review_response
@@ -784,7 +784,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [RequestReviewController.php#L281](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Site/Controllers/MerchantCenter/RequestReviewController.php#L281)
+- [RequestReviewController.php#L281](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Site/Controllers/MerchantCenter/RequestReviewController.php#L281)
## woocommerce_gla_retry_delete_coupons
@@ -792,7 +792,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponSyncer.php#L443)
+- [CouponSyncer.php#L443](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponSyncer.php#L443)
## woocommerce_gla_retry_update_coupons
@@ -800,7 +800,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponSyncer.php#L405)
+- [CouponSyncer.php#L405](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponSyncer.php#L405)
## woocommerce_gla_site_claim_failure
@@ -808,10 +808,10 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [Middleware.php#L260](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Middleware.php#L260)
-- [Middleware.php#L266](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Middleware.php#L266)
-- [Merchant.php#L96](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Merchant.php#L96)
-- [AccountService.php#L393](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/MerchantCenter/AccountService.php#L393)
+- [Middleware.php#L260](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Middleware.php#L260)
+- [Middleware.php#L266](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Middleware.php#L266)
+- [Merchant.php#L96](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Merchant.php#L96)
+- [AccountService.php#L393](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/MerchantCenter/AccountService.php#L393)
## woocommerce_gla_site_claim_overwrite_required
@@ -819,7 +819,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [AccountService.php#L388](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/MerchantCenter/AccountService.php#L388)
+- [AccountService.php#L388](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/MerchantCenter/AccountService.php#L388)
## woocommerce_gla_site_claim_success
@@ -827,8 +827,8 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [Middleware.php#L255](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Middleware.php#L255)
-- [Merchant.php#L93](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/Merchant.php#L93)
+- [Middleware.php#L255](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Middleware.php#L255)
+- [Merchant.php#L93](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/Merchant.php#L93)
## woocommerce_gla_site_url
@@ -836,7 +836,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [PluginHelper.php#L188](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/PluginHelper.php#L188)
+- [PluginHelper.php#L188](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/PluginHelper.php#L188)
## woocommerce_gla_site_verify_failure
@@ -844,9 +844,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/SiteVerification.php#L58)
-- [SiteVerification.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/SiteVerification.php#L66)
-- [SiteVerification.php#L87](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/SiteVerification.php#L87)
+- [SiteVerification.php#L58](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/SiteVerification.php#L58)
+- [SiteVerification.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/SiteVerification.php#L66)
+- [SiteVerification.php#L87](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/SiteVerification.php#L87)
## woocommerce_gla_site_verify_success
@@ -854,7 +854,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/SiteVerification.php#L85)
+- [SiteVerification.php#L85](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/SiteVerification.php#L85)
## woocommerce_gla_supported_coupon_types
@@ -862,7 +862,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponSyncer.php#L366)
+- [CouponSyncer.php#L366](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponSyncer.php#L366)
## woocommerce_gla_supported_product_types
@@ -870,7 +870,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ProductSyncer.php#L263](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductSyncer.php#L263)
+- [ProductSyncer.php#L263](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductSyncer.php#L263)
## woocommerce_gla_sv_client_exception
@@ -878,8 +878,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/SiteVerification.php#L120)
-- [SiteVerification.php#L162](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Google/SiteVerification.php#L162)
+- [SiteVerification.php#L120](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/SiteVerification.php#L120)
+- [SiteVerification.php#L162](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Google/SiteVerification.php#L162)
## woocommerce_gla_tax_excluded
@@ -887,7 +887,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L602](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/WCProductAdapter.php#L602)
+- [WCProductAdapter.php#L602](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/WCProductAdapter.php#L602)
## woocommerce_gla_track_event
@@ -895,16 +895,16 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [OAuthService.php#L172](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/WP/OAuthService.php#L172)
-- [OAuthService.php#L200](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/WP/OAuthService.php#L200)
-- [OAuthService.php#L220](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/WP/OAuthService.php#L220)
-- [SettingsSyncController.php#L83](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Site/Controllers/MerchantCenter/SettingsSyncController.php#L83)
-- [SetupCompleteController.php#L75](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Site/Controllers/Ads/SetupCompleteController.php#L75)
-- [CampaignController.php#L152](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Site/Controllers/Ads/CampaignController.php#L152)
-- [CampaignController.php#L231](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Site/Controllers/Ads/CampaignController.php#L231)
-- [CampaignController.php#L269](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/API/Site/Controllers/Ads/CampaignController.php#L269)
-- [AccountService.php#L593](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/MerchantCenter/AccountService.php#L593)
-- [AccountService.php#L613](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/MerchantCenter/AccountService.php#L613)
+- [OAuthService.php#L172](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/WP/OAuthService.php#L172)
+- [OAuthService.php#L200](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/WP/OAuthService.php#L200)
+- [OAuthService.php#L220](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/WP/OAuthService.php#L220)
+- [SettingsSyncController.php#L83](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Site/Controllers/MerchantCenter/SettingsSyncController.php#L83)
+- [SetupCompleteController.php#L75](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Site/Controllers/Ads/SetupCompleteController.php#L75)
+- [CampaignController.php#L152](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Site/Controllers/Ads/CampaignController.php#L152)
+- [CampaignController.php#L231](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Site/Controllers/Ads/CampaignController.php#L231)
+- [CampaignController.php#L269](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/API/Site/Controllers/Ads/CampaignController.php#L269)
+- [AccountService.php#L593](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/MerchantCenter/AccountService.php#L593)
+- [AccountService.php#L613](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/MerchantCenter/AccountService.php#L613)
## woocommerce_gla_updated_coupon
@@ -912,7 +912,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Coupon/CouponSyncer.php#L169)
+- [CouponSyncer.php#L169](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Coupon/CouponSyncer.php#L169)
## woocommerce_gla_url_switch_required
@@ -920,7 +920,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [AccountService.php#L473](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/MerchantCenter/AccountService.php#L473)
+- [AccountService.php#L473](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/MerchantCenter/AccountService.php#L473)
## woocommerce_gla_url_switch_success
@@ -928,7 +928,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [AccountService.php#L496](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/MerchantCenter/AccountService.php#L496)
+- [AccountService.php#L496](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/MerchantCenter/AccountService.php#L496)
## woocommerce_gla_use_short_description
@@ -936,7 +936,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L299](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/WCProductAdapter.php#L299)
+- [WCProductAdapter.php#L299](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/WCProductAdapter.php#L299)
## woocommerce_gla_wcs_url
@@ -944,8 +944,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/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/PluginHelper.php#L174)
-- [PluginHelper.php#L177](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/PluginHelper.php#L177)
+- [PluginHelper.php#L174](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/PluginHelper.php#L174)
+- [PluginHelper.php#L177](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/PluginHelper.php#L177)
## woocommerce_gla_weight_unit
@@ -953,7 +953,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [WCProductAdapter.php#L433](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/WCProductAdapter.php#L433)
+- [WCProductAdapter.php#L433](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/WCProductAdapter.php#L433)
## woocommerce_hide_invisible_variations
@@ -961,5 +961,5 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this
**Used in**:
-- [ProductHelper.php#L519](https://github.com/woocommerce/google-listings-and-ads/blob/9a31f4dbb66e7a6e50e9b29d3a86a4277900634a/src/Product/ProductHelper.php#L519)
+- [ProductHelper.php#L519](https://github.com/woocommerce/google-listings-and-ads/blob/e61bbe9785d5d1b1ed3f3741796b006f70c02d04/src/Product/ProductHelper.php#L519)
diff --git a/src/Jobs/ActionSchedulerJobMonitor.php b/src/Jobs/ActionSchedulerJobMonitor.php
index 4300ca568b..3aa610f4b4 100644
--- a/src/Jobs/ActionSchedulerJobMonitor.php
+++ b/src/Jobs/ActionSchedulerJobMonitor.php
@@ -206,7 +206,7 @@ protected function get_failure_timeframe(): int {
* @since 1.7.0
*/
protected static function get_job_hash( string $hook, ?array $args = null ): string {
- return hash( 'crc32b', $hook . json_encode( $args ) );
+ return hash( 'crc32b', $hook . wp_json_encode( $args ) );
}
/**
diff --git a/src/Jobs/Notifications/AbstractItemNotificationJob.php b/src/Jobs/Notifications/AbstractItemNotificationJob.php
index eada23535f..beddaf9c6b 100644
--- a/src/Jobs/Notifications/AbstractItemNotificationJob.php
+++ b/src/Jobs/Notifications/AbstractItemNotificationJob.php
@@ -44,7 +44,7 @@ protected function process_items( array $args ): void {
} catch ( InvalidValue $e ) {
do_action(
'woocommerce_gla_error',
- sprintf( 'Error sending Notification for - Item ID: %s - Topic: %s - Data %s. Product was deleted from the database before the notification was sent.', $item, $topic, json_encode( $data ) ),
+ sprintf( 'Error sending Notification for - Item ID: %s - Topic: %s - Data %s. Product was deleted from the database before the notification was sent.', $item, $topic, wp_json_encode( $data ) ),
__METHOD__
);
}
diff --git a/src/MerchantCenter/MerchantStatuses.php b/src/MerchantCenter/MerchantStatuses.php
index cf1765ceaf..798e0b1132 100644
--- a/src/MerchantCenter/MerchantStatuses.php
+++ b/src/MerchantCenter/MerchantStatuses.php
@@ -427,7 +427,7 @@ protected function get_product_issues( array $statuses ): array {
}
$product_issue_template = [
- 'product' => html_entity_decode( $wc_product->get_name() ),
+ 'product' => html_entity_decode( $wc_product->get_name(), ENT_QUOTES ),
'product_id' => $wc_product_id,
'created_at' => $created_at,
'applicable_countries' => [],
@@ -514,7 +514,7 @@ protected function refresh_account_issues(): void {
$account_issues = array_map(
function ( $issue ) {
sort( $issue['applicable_countries'] );
- $issue['applicable_countries'] = json_encode(
+ $issue['applicable_countries'] = wp_json_encode(
array_unique(
$issue['applicable_countries']
)
@@ -567,7 +567,7 @@ function ( &$countries ) {
ksort( $product_issues );
$product_issues = array_map(
function ( $unique_key, $issue ) {
- $issue['applicable_countries'] = json_encode( $this->product_issue_countries[ $unique_key ] );
+ $issue['applicable_countries'] = wp_json_encode( $this->product_issue_countries[ $unique_key ] );
return $issue;
},
array_keys( $product_issues ),
diff --git a/src/Notes/LeaveReviewActionTrait.php b/src/Notes/LeaveReviewActionTrait.php
index 53696031e1..f0867260df 100644
--- a/src/Notes/LeaveReviewActionTrait.php
+++ b/src/Notes/LeaveReviewActionTrait.php
@@ -28,7 +28,7 @@ protected function add_leave_review_note_action( NoteEntry $note ) {
$note->add_action(
'leave-review',
__( 'Leave a review', 'google-listings-and-ads' ),
- rand( 0, 1 ) ? $wp_link : $wc_link
+ wp_rand( 0, 1 ) ? $wp_link : $wc_link
);
}
}
diff --git a/src/Product/BatchProductHelper.php b/src/Product/BatchProductHelper.php
index 843c81a758..a25cc8c52c 100644
--- a/src/Product/BatchProductHelper.php
+++ b/src/Product/BatchProductHelper.php
@@ -229,7 +229,7 @@ public function validate_and_generate_update_request_entries( array $products ):
do_action(
'woocommerce_gla_debug_message',
- sprintf( 'Skipping product (ID: %s) because it does not pass validation: %s', $product->get_id(), json_encode( $validation_result ) ),
+ sprintf( 'Skipping product (ID: %s) because it does not pass validation: %s', $product->get_id(), wp_json_encode( $validation_result ) ),
__METHOD__
);
diff --git a/src/Product/ProductSyncer.php b/src/Product/ProductSyncer.php
index 7c14e0d94f..f044cab897 100644
--- a/src/Product/ProductSyncer.php
+++ b/src/Product/ProductSyncer.php
@@ -149,7 +149,7 @@ public function update_by_batch_requests( array $product_entries ): BatchProduct
sprintf(
"Submitted %s products:\n%s",
count( $updated_products ),
- json_encode( $updated_products )
+ wp_json_encode( $updated_products )
),
__METHOD__
);
@@ -159,7 +159,7 @@ public function update_by_batch_requests( array $product_entries ): BatchProduct
sprintf(
"%s products failed to sync with Merchant Center:\n%s",
count( $invalid_products ),
- json_encode( $invalid_products )
+ wp_json_encode( $invalid_products )
),
__METHOD__
);
@@ -235,7 +235,7 @@ public function delete_by_batch_requests( array $product_entries ): BatchProduct
sprintf(
"Deleted %s products:\n%s",
count( $deleted_products ),
- json_encode( $deleted_products ),
+ wp_json_encode( $deleted_products ),
),
__METHOD__
);
@@ -245,7 +245,7 @@ public function delete_by_batch_requests( array $product_entries ): BatchProduct
sprintf(
"Failed to delete %s products from Merchant Center:\n%s",
count( $invalid_products ),
- json_encode( $invalid_products )
+ wp_json_encode( $invalid_products )
),
__METHOD__
);
diff --git a/src/Product/WCProductAdapter.php b/src/Product/WCProductAdapter.php
index d0b5550d59..6c262938cc 100644
--- a/src/Product/WCProductAdapter.php
+++ b/src/Product/WCProductAdapter.php
@@ -207,7 +207,7 @@ protected function map_product_categories() {
sprintf(
'Product category (ID: %s): %s.',
$base_product_id,
- json_encode( $google_product_types )
+ wp_json_encode( $google_product_types )
),
__METHOD__
);
diff --git a/src/Shipping/GoogleAdapter/DBShippingSettingsAdapter.php b/src/Shipping/GoogleAdapter/DBShippingSettingsAdapter.php
index 4e7cd3b8da..968bdebb8e 100644
--- a/src/Shipping/GoogleAdapter/DBShippingSettingsAdapter.php
+++ b/src/Shipping/GoogleAdapter/DBShippingSettingsAdapter.php
@@ -139,7 +139,7 @@ protected function create_rate_group_object( string $currency, float $rate ): Ra
* @return GoogleShippingService
*/
protected function create_shipping_service( string $country, string $currency, float $rate ): GoogleShippingService {
- $unique = sprintf( '%04x', mt_rand( 0, 0xffff ) );
+ $unique = sprintf( '%04x', wp_rand( 0, 0xffff ) );
$service = new GoogleShippingService();
$service->setActive( true );
$service->setDeliveryCountry( $country );
diff --git a/src/Shipping/GoogleAdapter/WCShippingSettingsAdapter.php b/src/Shipping/GoogleAdapter/WCShippingSettingsAdapter.php
index 99639f79c2..89d66b020a 100644
--- a/src/Shipping/GoogleAdapter/WCShippingSettingsAdapter.php
+++ b/src/Shipping/GoogleAdapter/WCShippingSettingsAdapter.php
@@ -147,7 +147,7 @@ protected function create_shipping_service( ServiceRatesCollection $service_coll
$name = sprintf(
/* translators: %1 is a random 4-digit string, %2 is the country code */
__( '[%1$s] Google for WooCommerce generated service - %2$s', 'google-listings-and-ads' ),
- sprintf( '%04x', mt_rand( 0, 0xffff ) ),
+ sprintf( '%04x', wp_rand( 0, 0xffff ) ),
$country
);
diff --git a/tests/Tools/HelperTrait/CouponTrait.php b/tests/Tools/HelperTrait/CouponTrait.php
index ff621410f5..d76bbd24fd 100644
--- a/tests/Tools/HelperTrait/CouponTrait.php
+++ b/tests/Tools/HelperTrait/CouponTrait.php
@@ -27,7 +27,7 @@ public function generate_simple_coupon_mock() {
$coupon->expects( $this->any() )
->method( 'get_id' )
- ->willReturn( rand() );
+ ->willReturn( wp_rand() );
return $coupon;
}
@@ -39,7 +39,7 @@ public function generate_simple_coupon_mock() {
*/
public function create_simple_coupon() {
$coupon = new WC_Coupon();
- $coupon->set_code( sprintf( 'simple_coupon_%d', rand() ) );
+ $coupon->set_code( sprintf( 'simple_coupon_%d', wp_rand() ) );
$coupon->set_amount( 10 );
$coupon->set_discount_type( 'percent' );
$coupon->set_free_shipping( true );
@@ -108,7 +108,7 @@ public function generate_google_promotion_mock(
$promotion = $this->createMock( GooglePromotion::class );
$target_country = $target_country ?: $this->get_sample_target_country();
- $promotion_id = $coupon_id ?: rand();
+ $promotion_id = $coupon_id ?: wp_rand();
$promotion->expects( $this->any() )
->method( 'getPromotionId' )
diff --git a/tests/Tools/HelperTrait/GuzzleClientTrait.php b/tests/Tools/HelperTrait/GuzzleClientTrait.php
index cfe65ebd96..bdbab5e7af 100644
--- a/tests/Tools/HelperTrait/GuzzleClientTrait.php
+++ b/tests/Tools/HelperTrait/GuzzleClientTrait.php
@@ -40,7 +40,7 @@ protected function guzzle_client_setup() {
*/
protected function generate_request_mock( $response, string $type = 'get', int $code = 200 ) {
$body = $this->createMock( StreamInterface::class );
- $body->method( 'getContents' )->willReturn( json_encode( $response ) );
+ $body->method( 'getContents' )->willReturn( wp_json_encode( $response ) );
$result = $this->createMock( ResponseInterface::class );
$result->method( 'getBody' )->willReturn( $body );
@@ -61,8 +61,8 @@ protected function generate_create_account_mock( $response ) {
$body->method( 'getContents' )
->will(
$this->onConsecutiveCalls(
- json_encode( [ 'status' => 'accepted' ] ),
- json_encode( $response )
+ wp_json_encode( [ 'status' => 'accepted' ] ),
+ wp_json_encode( $response )
)
);
@@ -87,8 +87,8 @@ protected function generate_create_account_exception_mock( string $error, $respo
$body->method( 'getContents' )
->will(
$this->onConsecutiveCalls(
- json_encode( [ 'status' => 'accepted' ] ),
- json_encode( $response )
+ wp_json_encode( [ 'status' => 'accepted' ] ),
+ wp_json_encode( $response )
)
);
@@ -151,7 +151,7 @@ protected function generate_account_reconnect_exception( string $reconnect_type,
*/
protected function generate_exception_mock( string $message, int $code ): BadResponseException {
$body = $this->createMock( StreamInterface::class );
- $body->method( 'getContents' )->willReturn( json_encode( [ 'message' => $message ] ) );
+ $body->method( 'getContents' )->willReturn( wp_json_encode( [ 'message' => $message ] ) );
$request = $this->createMock( RequestInterface::class );
$response = $this->createMock( ResponseInterface::class );
diff --git a/tests/Tools/HelperTrait/ProductTrait.php b/tests/Tools/HelperTrait/ProductTrait.php
index 4f67d19fbd..a6e0875da7 100644
--- a/tests/Tools/HelperTrait/ProductTrait.php
+++ b/tests/Tools/HelperTrait/ProductTrait.php
@@ -28,7 +28,7 @@ trait ProductTrait {
*/
public function generate_variable_product_mock( int $number_of_variations = 3 ) {
$product = $this->createMock( WC_Product_Variable::class );
- $id = rand();
+ $id = wp_rand();
$children = [];
for ( $i = 0; $i < $number_of_variations; $i++ ) {
@@ -36,7 +36,7 @@ public function generate_variable_product_mock( int $number_of_variations = 3 )
$child->expects( $this->any() )
->method( 'get_id' )
- ->willReturn( rand() );
+ ->willReturn( wp_rand() );
$child->expects( $this->any() )
->method( 'get_parent_id' )
->willReturn( $id );
@@ -75,7 +75,7 @@ public function generate_google_product_mock( $id = null, $target_country = null
$product = $this->createMock( GoogleProduct::class );
$target_country = $target_country ?: $this->get_sample_target_country();
- $id = $id ?: "online:en:{$target_country}:gla_" . rand();
+ $id = $id ?: "online:en:{$target_country}:gla_" . wp_rand();
$product->expects( $this->any() )
->method( 'getId' )
@@ -99,7 +99,7 @@ public function generate_simple_product_mock( $product_id = null ) {
$product->expects( $this->any() )
->method( 'get_id' )
- ->willReturn( $product_id ?: rand() );
+ ->willReturn( $product_id ?: wp_rand() );
$product->expects( $this->any() )
->method( 'get_type' )
@@ -118,10 +118,10 @@ public function generate_variation_product_mock() {
$product->expects( $this->any() )
->method( 'get_id' )
- ->willReturn( rand() );
+ ->willReturn( wp_rand() );
$product->expects( $this->any() )
->method( 'get_parent_id' )
- ->willReturn( rand() );
+ ->willReturn( wp_rand() );
$product->expects( $this->any() )
->method( 'get_type' )
->willReturn( 'variation' );
@@ -137,7 +137,7 @@ public function generate_variation_product_mock() {
public function generate_google_id( $product ): string {
$product_id = $product;
if ( $product instanceof WC_Product ) {
- $product_id = $product->get_id() ?: rand();
+ $product_id = $product->get_id() ?: wp_rand();
}
return 'online:en:' . $this->get_sample_target_country() . ':gla_' . $product_id;
diff --git a/tests/Unit/API/Site/Controllers/MerchantCenter/SettingsSyncControllerTest.php b/tests/Unit/API/Site/Controllers/MerchantCenter/SettingsSyncControllerTest.php
index d77e5ba9d6..2885a78c76 100644
--- a/tests/Unit/API/Site/Controllers/MerchantCenter/SettingsSyncControllerTest.php
+++ b/tests/Unit/API/Site/Controllers/MerchantCenter/SettingsSyncControllerTest.php
@@ -78,7 +78,7 @@ public function test_settings_sync_with_json_exception() {
->method( 'sync_taxes' )
->willThrowException(
new Exception(
- json_encode(
+ wp_json_encode(
[
'code' => 400,
'message' => 'error',
diff --git a/tests/Unit/Coupon/WCCouponAdapterTest.php b/tests/Unit/Coupon/WCCouponAdapterTest.php
index b8b83d7e3e..4aee26f82b 100644
--- a/tests/Unit/Coupon/WCCouponAdapterTest.php
+++ b/tests/Unit/Coupon/WCCouponAdapterTest.php
@@ -216,8 +216,8 @@ public function test_disable_promotion() {
}
public function test_product_id_restrictions() {
- $product_id_1 = rand();
- $product_id_2 = rand();
+ $product_id_1 = wp_rand();
+ $product_id_2 = wp_rand();
$coupon = $this->create_ready_to_sync_coupon();
$coupon->set_product_ids( [ $product_id_1 ] );
$coupon->set_excluded_product_ids( [ $product_id_2 ] );
diff --git a/tests/Unit/MerchantCenter/MerchantStatusesTest.php b/tests/Unit/MerchantCenter/MerchantStatusesTest.php
index 5a3bfcb83b..529984e4bc 100644
--- a/tests/Unit/MerchantCenter/MerchantStatusesTest.php
+++ b/tests/Unit/MerchantCenter/MerchantStatusesTest.php
@@ -624,10 +624,10 @@ function ( $value ) use ( $variable_product ) {
$this->merchant_issue_query->expects( $this->once() )->method( 'update_or_insert' )->with(
[
[
- 'product' => html_entity_decode( $product_1->get_name() ),
+ 'product' => html_entity_decode( $product_1->get_name(), ENT_QUOTES ),
'product_id' => $product_1->get_id(),
'created_at' => $this->merchant_statuses->get_cache_created_time()->format( 'Y-m-d H:i:s' ),
- 'applicable_countries' => json_encode( [ 'ES' ] ),
+ 'applicable_countries' => wp_json_encode( [ 'ES' ] ),
'source' => 'mc',
'code' => $product_status->getItemLevelIssues()[0]->getCode(),
'issue' => $product_status->getItemLevelIssues()[0]->getDescription(),
diff --git a/tests/Unit/Product/Attributes/AttributeManagerTest.php b/tests/Unit/Product/Attributes/AttributeManagerTest.php
index ed0f98a641..698803fe7f 100644
--- a/tests/Unit/Product/Attributes/AttributeManagerTest.php
+++ b/tests/Unit/Product/Attributes/AttributeManagerTest.php
@@ -82,7 +82,7 @@ public function test_update_and_get() {
public function test_get_throws_exception_if_attribute_id_invalid() {
$product = WC_Helper_Product::create_simple_product();
$this->expectException( InvalidValue::class );
- $this->attribute_manager->get( $product, 'some_random_string' . rand() );
+ $this->attribute_manager->get( $product, 'some_random_string' . wp_rand() );
}
public function test_get_throws_exception_if_attribute_inapplicable_to_product() {
@@ -147,7 +147,7 @@ public function test_get_all_values_returns_set_attributes() {
public function test_delete_throws_exception_if_attribute_id_invalid() {
$product = WC_Helper_Product::create_simple_product();
$this->expectException( InvalidValue::class );
- $this->attribute_manager->delete( $product, 'some_random_string' . rand() );
+ $this->attribute_manager->delete( $product, 'some_random_string' . wp_rand() );
}
public function test_delete_throws_exception_if_attribute_inapplicable_to_product() {
diff --git a/tests/Unit/Product/WCProductAdapterTest.php b/tests/Unit/Product/WCProductAdapterTest.php
index 290abb571b..4c14a452d3 100644
--- a/tests/Unit/Product/WCProductAdapterTest.php
+++ b/tests/Unit/Product/WCProductAdapterTest.php
@@ -495,10 +495,7 @@ public function test_parent_description_is_included_in_variation_description() {
]
);
- $expected_description = <<