diff --git a/src/Coupon/CouponHelper.php b/src/Coupon/CouponHelper.php index 5fd5b46eb6..3c46644d82 100644 --- a/src/Coupon/CouponHelper.php +++ b/src/Coupon/CouponHelper.php @@ -49,7 +49,8 @@ class CouponHelper implements Service { public function __construct( CouponMetaHandler $meta_handler, WC $wc, - MerchantCenterService $merchant_center ) { + MerchantCenterService $merchant_center + ) { $this->meta_handler = $meta_handler; $this->wc = $wc; $this->merchant_center = $merchant_center; @@ -66,7 +67,8 @@ public function __construct( public function mark_as_synced( WC_Coupon $coupon, ?string $google_id, - string $target_country ) { + string $target_country + ) { $this->meta_handler->update_synced_at( $coupon, time() ); $this->meta_handler->update_sync_status( $coupon, SyncStatus::SYNCED ); $this->update_empty_visibility( $coupon ); diff --git a/src/Coupon/CouponSyncer.php b/src/Coupon/CouponSyncer.php index 8248c4a8bd..0fa2567229 100644 --- a/src/Coupon/CouponSyncer.php +++ b/src/Coupon/CouponSyncer.php @@ -78,7 +78,8 @@ public function __construct( ValidatorInterface $validator, MerchantCenterService $merchant_center, TargetAudience $target_audience, - WC $wc ) { + WC $wc + ) { $this->google_service = $google_service; $this->coupon_helper = $coupon_helper; $this->validator = $validator; diff --git a/src/Coupon/SyncerHooks.php b/src/Coupon/SyncerHooks.php index 5763c337ee..4eb1855a07 100644 --- a/src/Coupon/SyncerHooks.php +++ b/src/Coupon/SyncerHooks.php @@ -87,7 +87,8 @@ public function __construct( CouponHelper $coupon_helper, JobRepository $job_repository, MerchantCenterService $merchant_center, - WC $wc ) { + WC $wc + ) { $this->update_coupon_job = $job_repository->get( UpdateCoupon::class ); $this->delete_coupon_job = $job_repository->get( DeleteCoupon::class ); $this->coupon_helper = $coupon_helper; @@ -256,7 +257,8 @@ protected function handle_delete_coupon( int $coupon_id ) { */ protected function is_already_scheduled( int $coupon_id, - string $schedule_type ): bool { + string $schedule_type + ): bool { return isset( $this->already_scheduled[ $coupon_id ] ) && $this->already_scheduled[ $coupon_id ] === $schedule_type; } @@ -296,7 +298,8 @@ protected function is_already_scheduled_to_delete( int $coupon_id ): bool { */ protected function set_already_scheduled( int $coupon_id, - string $schedule_type ): void { + string $schedule_type + ): void { $this->already_scheduled[ $coupon_id ] = $schedule_type; } @@ -320,4 +323,3 @@ protected function set_already_scheduled_to_delete( int $coupon_id ): void { $this->set_already_scheduled( $coupon_id, self::SCHEDULE_TYPE_DELETE ); } } - diff --git a/src/Coupon/WCCouponAdapter.php b/src/Coupon/WCCouponAdapter.php index 57dd43be42..439d884c98 100644 --- a/src/Coupon/WCCouponAdapter.php +++ b/src/Coupon/WCCouponAdapter.php @@ -61,27 +61,26 @@ class WCCouponAdapter extends GooglePromotion implements Validatable { /** * Initialize this object's properties from an array. * - * @param array $array - * Used to seed this object's properties. + * @param array $properties Used to seed this object's properties. * * @return void * * @throws InvalidValue When a WooCommerce coupon is not provided or it is invalid. */ - public function mapTypes( $array ) { - if ( empty( $array['wc_coupon'] ) || - ! $array['wc_coupon'] instanceof WC_Coupon ) { + public function mapTypes( $properties ) { + if ( empty( $properties['wc_coupon'] ) || + ! $properties['wc_coupon'] instanceof WC_Coupon ) { throw InvalidValue::not_instance_of( WC_Coupon::class, 'wc_coupon' ); } - $wc_coupon = $array['wc_coupon']; + $wc_coupon = $properties['wc_coupon']; $this->wc_coupon_id = $wc_coupon->get_id(); - $this->map_woocommerce_coupon( $wc_coupon, $this->get_coupon_destinations( $array ) ); + $this->map_woocommerce_coupon( $wc_coupon, $this->get_coupon_destinations( $properties ) ); // Google doesn't expect extra fields, so it's best to remove them - unset( $array['wc_coupon'] ); + unset( $properties['wc_coupon'] ); - parent::mapTypes( $array ); + parent::mapTypes( $properties ); } /** diff --git a/src/DB/Migration/MigrationVersion141.php b/src/DB/Migration/MigrationVersion141.php index ca5fd0a93a..73cfee2388 100644 --- a/src/DB/Migration/MigrationVersion141.php +++ b/src/DB/Migration/MigrationVersion141.php @@ -50,10 +50,8 @@ public function get_applicable_version(): string { */ public function apply(): void { if ( $this->mc_issues_table->exists() && $this->mc_issues_table->has_index( 'product_issue' ) ) { - // phpcs:disable WordPress.DB.PreparedSQL.NotPrepared // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared $this->wpdb->query( "ALTER TABLE `{$this->wpdb->_escape( $this->mc_issues_table->get_name() )}` DROP INDEX `product_issue`" ); - // phpcs:enable WordPress.DB.PreparedSQL.NotPrepared } } } diff --git a/src/DB/Migration/Migrator.php b/src/DB/Migration/Migrator.php index e4e8252eea..3ceb5d311b 100644 --- a/src/DB/Migration/Migrator.php +++ b/src/DB/Migration/Migrator.php @@ -66,7 +66,7 @@ public function migrate( string $old_version, string $new_version ): void { */ protected function can_apply( string $migration_version, string $old_version, string $new_version ): bool { return version_compare( $old_version, $new_version, '<' ) && - version_compare( $old_version, $migration_version, '<' ) && - version_compare( $migration_version, $new_version, '<=' ); + version_compare( $old_version, $migration_version, '<' ) && + version_compare( $migration_version, $new_version, '<=' ); } } diff --git a/src/DB/ProductFeedQueryHelper.php b/src/DB/ProductFeedQueryHelper.php index fa69b9f6f9..871225e628 100644 --- a/src/DB/ProductFeedQueryHelper.php +++ b/src/DB/ProductFeedQueryHelper.php @@ -232,4 +232,3 @@ protected function get_order(): string { return strtoupper( $this->request['order'] ?? '' ) === 'DESC' ? 'DESC' : 'ASC'; } } - diff --git a/src/DB/ProductMetaQueryHelper.php b/src/DB/ProductMetaQueryHelper.php index 64099dc94d..976e16d8e2 100644 --- a/src/DB/ProductMetaQueryHelper.php +++ b/src/DB/ProductMetaQueryHelper.php @@ -144,6 +144,4 @@ protected static function validate_meta_key( string $meta_key ) { throw InvalidMeta::invalid_key( $meta_key ); } } - } - diff --git a/src/DB/Query.php b/src/DB/Query.php index 3483602e9f..02814bc542 100644 --- a/src/DB/Query.php +++ b/src/DB/Query.php @@ -359,7 +359,7 @@ protected function generate_where_pieces(): array { join( "','", array_map( - function( $value ) { + function ( $value ) { return $this->wpdb->_escape( $value ); }, $where['value'] diff --git a/src/DB/Query/ShippingRateQuery.php b/src/DB/Query/ShippingRateQuery.php index 29780c1881..09a1e94a3c 100644 --- a/src/DB/Query/ShippingRateQuery.php +++ b/src/DB/Query/ShippingRateQuery.php @@ -67,6 +67,4 @@ function ( $row ) { $this->results ); } - - } diff --git a/src/Event/ClearProductStatsCache.php b/src/Event/ClearProductStatsCache.php index 673ef1d7ee..63bef69bd2 100644 --- a/src/Event/ClearProductStatsCache.php +++ b/src/Event/ClearProductStatsCache.php @@ -38,13 +38,13 @@ public function __construct( MerchantStatuses $merchant_statuses ) { public function register(): void { add_action( 'woocommerce_gla_batch_updated_products', - function() { + function () { $this->clear_stats_cache(); } ); add_action( 'woocommerce_gla_batch_deleted_products', - function() { + function () { $this->clear_stats_cache(); } ); diff --git a/src/Event/StartProductSync.php b/src/Event/StartProductSync.php index abf9cb078c..4b62b6d038 100644 --- a/src/Event/StartProductSync.php +++ b/src/Event/StartProductSync.php @@ -37,14 +37,14 @@ public function __construct( JobRepository $job_repository ) { public function register(): void { add_action( 'woocommerce_gla_mc_settings_sync', - function() { + function () { $this->on_settings_sync(); } ); add_action( 'woocommerce_gla_mapping_rules_change', - function() { + function () { $this->on_rules_change(); } ); diff --git a/src/Exception/AccountReconnect.php b/src/Exception/AccountReconnect.php index c8943b02bf..54e20b30e3 100644 --- a/src/Exception/AccountReconnect.php +++ b/src/Exception/AccountReconnect.php @@ -50,5 +50,4 @@ public static function google_disconnected(): AccountReconnect { ] ); } - } diff --git a/src/Exception/ApiNotReady.php b/src/Exception/ApiNotReady.php index 7c8c581f35..1fc17c366b 100644 --- a/src/Exception/ApiNotReady.php +++ b/src/Exception/ApiNotReady.php @@ -34,5 +34,4 @@ public static function retry_after( int $wait ): ApiNotReady { ] ); } - } diff --git a/src/Exception/InvalidClass.php b/src/Exception/InvalidClass.php index befbaebf11..62268e3b2d 100644 --- a/src/Exception/InvalidClass.php +++ b/src/Exception/InvalidClass.php @@ -15,17 +15,17 @@ class InvalidClass extends LogicException implements GoogleListingsAndAdsExcepti /** * Create a new instance of the exception when a class should implement an interface but does not. * - * @param string $class The class name. - * @param string $interface The interface name. + * @param string $class_name The class name. + * @param string $interface_name The interface name. * * @return static */ - public static function should_implement( string $class, string $interface ) { + public static function should_implement( string $class_name, string $interface_name ) { return new static( sprintf( 'The class "%s" must implement the "%s" interface.', - $class, - $interface + $class_name, + $interface_name ) ); } @@ -33,17 +33,17 @@ public static function should_implement( string $class, string $interface ) { /** * Create a new instance of the exception when a class should NOT implement an interface but it does. * - * @param string $class The class name. - * @param string $interface The interface name. + * @param string $class_name The class name. + * @param string $interface_name The interface name. * * @return static */ - public static function should_not_implement( string $class, string $interface ): InvalidClass { + public static function should_not_implement( string $class_name, string $interface_name ): InvalidClass { return new static( sprintf( 'The class "%s" must NOT implement the "%s" interface.', - $class, - $interface + $class_name, + $interface_name ) ); } @@ -51,17 +51,17 @@ public static function should_not_implement( string $class, string $interface ): /** * Create a new instance of the exception when a class should override a method but does not. * - * @param string $class The class name. - * @param string $method The method name. + * @param string $class_name The class name. + * @param string $method_name The method name. * * @return static */ - public static function should_override( string $class, string $method ) { + public static function should_override( string $class_name, string $method_name ) { return new static( sprintf( 'The class "%s" must override the "%s()" method.', - $class, - $method + $class_name, + $method_name ) ); } diff --git a/src/Exception/InvalidProperty.php b/src/Exception/InvalidProperty.php index 373dbf6114..c9fbd1d556 100644 --- a/src/Exception/InvalidProperty.php +++ b/src/Exception/InvalidProperty.php @@ -15,16 +15,16 @@ class InvalidProperty extends LogicException implements GoogleListingsAndAdsExce /** * Create a new instance of the exception for a class property that should not be null. * - * @param string $class The class name. - * @param string $property The class property name. + * @param string $class_name The class name. + * @param string $property The class property name. * * @return static */ - public static function not_null( string $class, string $property ) { + public static function not_null( string $class_name, string $property ) { return new static( sprintf( 'The class "%s" property "%s" must be set.', - $class, + $class_name, $property ) ); diff --git a/src/Exception/ValidateInterface.php b/src/Exception/ValidateInterface.php index 3b78787722..5bbad35e37 100644 --- a/src/Exception/ValidateInterface.php +++ b/src/Exception/ValidateInterface.php @@ -13,53 +13,53 @@ trait ValidateInterface { /** * Validate that a class implements a given interface. * - * @param string $class The class name. - * @param string $interface The interface name. + * @param string $class_name The class name. + * @param string $interface_name The interface name. * * @throws InvalidClass When the given class does not implement the interface. */ - protected function validate_interface( string $class, string $interface ) { - $implements = class_implements( $class ); - if ( ! array_key_exists( $interface, $implements ) ) { - throw InvalidClass::should_implement( $class, $interface ); + protected function validate_interface( string $class_name, string $interface_name ) { + $implements = class_implements( $class_name ); + if ( ! array_key_exists( $interface_name, $implements ) ) { + throw InvalidClass::should_implement( $class_name, $interface_name ); } } /** * Validate that an object is an instance of an interface. * - * @param object $object The object to validate. - * @param string $interface The interface name. + * @param object $object_instance The object to validate. + * @param string $interface_name The interface name. * * @throws InvalidClass When the given object does not implement the interface. */ - protected function validate_instanceof( $object, string $interface ) { - $class = ''; - if ( is_object( $object ) ) { - $class = get_class( $object ); + protected function validate_instanceof( $object_instance, string $interface_name ) { + $class_name = ''; + if ( is_object( $object_instance ) ) { + $class_name = get_class( $object_instance ); } - if ( ! $object instanceof $interface ) { - throw InvalidClass::should_implement( $class, $interface ); + if ( ! $object_instance instanceof $interface_name ) { + throw InvalidClass::should_implement( $class_name, $interface_name ); } } /** * Validate that an object is NOT an instance of an interface. * - * @param object $object The object to validate. - * @param string $interface The interface name. + * @param object $object_instance The object to validate. + * @param string $interface_name The interface name. * * @throws InvalidClass When the given object implements the interface. */ - protected function validate_not_instanceof( $object, string $interface ) { - $class = ''; - if ( is_object( $object ) ) { - $class = get_class( $object ); + protected function validate_not_instanceof( $object_instance, string $interface_name ) { + $class_name = ''; + if ( is_object( $object_instance ) ) { + $class_name = get_class( $object_instance ); } - if ( $object instanceof $interface ) { - throw InvalidClass::should_not_implement( $class, $interface ); + if ( $object_instance instanceof $interface_name ) { + throw InvalidClass::should_not_implement( $class_name, $interface_name ); } } } diff --git a/src/Google/Ads/ServiceClientFactoryTrait.php b/src/Google/Ads/ServiceClientFactoryTrait.php index a2e2c7ce8c..82931a3216 100644 --- a/src/Google/Ads/ServiceClientFactoryTrait.php +++ b/src/Google/Ads/ServiceClientFactoryTrait.php @@ -208,5 +208,4 @@ public function getGoogleAdsServiceClient(): GoogleAdsServiceClient { public function getMerchantCenterLinkServiceClient(): MerchantCenterLinkServiceClient { return new MerchantCenterLinkServiceClient( $this->getGoogleAdsClientOptions() ); } - } diff --git a/src/Google/BatchInvalidProductEntry.php b/src/Google/BatchInvalidProductEntry.php index 53f6d17903..e3e18904b4 100644 --- a/src/Google/BatchInvalidProductEntry.php +++ b/src/Google/BatchInvalidProductEntry.php @@ -92,7 +92,7 @@ public function map_validation_violations( ConstraintViolationListInterface $vio /** * @return array */ - public function jsonSerialize(): array { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid + public function jsonSerialize(): array { $data = [ 'woocommerce_id' => $this->get_wc_product_id(), 'errors' => $this->get_errors(), diff --git a/src/Google/BatchProductEntry.php b/src/Google/BatchProductEntry.php index 27c50d1f5e..859a60d595 100644 --- a/src/Google/BatchProductEntry.php +++ b/src/Google/BatchProductEntry.php @@ -53,7 +53,7 @@ public function get_google_product(): ?GoogleProduct { /** * @return array */ - public function jsonSerialize(): array { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid + public function jsonSerialize(): array { $data = [ 'woocommerce_id' => $this->get_wc_product_id() ]; if ( null !== $this->get_google_product() ) { diff --git a/src/Google/DeleteCouponEntry.php b/src/Google/DeleteCouponEntry.php index d089d5693f..9ea6b40d3c 100644 --- a/src/Google/DeleteCouponEntry.php +++ b/src/Google/DeleteCouponEntry.php @@ -40,7 +40,8 @@ class DeleteCouponEntry { public function __construct( int $wc_coupon_id, GooglePromotion $google_promotion, - array $synced_google_ids ) { + array $synced_google_ids + ) { $this->wc_coupon_id = $wc_coupon_id; $this->google_promotion = $google_promotion; $this->synced_google_ids = $synced_google_ids; diff --git a/src/Google/GoogleProductService.php b/src/Google/GoogleProductService.php index 7653262596..67eca3a5e5 100644 --- a/src/Google/GoogleProductService.php +++ b/src/Google/GoogleProductService.php @@ -170,7 +170,7 @@ protected function custom_batch( array $products, string $method ): BatchProduct $batch_id_product_map[ $batch_id ] = $product_entry; - $batch_id++; + ++$batch_id; } $responses = $this->shopping_service->products->custombatch( new GoogleBatchRequest( [ 'entries' => $request_entries ] ) ); diff --git a/src/Google/InvalidCouponEntry.php b/src/Google/InvalidCouponEntry.php index 5287b2af1c..7c704ae628 100644 --- a/src/Google/InvalidCouponEntry.php +++ b/src/Google/InvalidCouponEntry.php @@ -49,7 +49,8 @@ public function __construct( int $wc_coupon_id, array $errors = [], string $target_country = null, - string $google_promotion_id = null ) { + string $google_promotion_id = null + ) { $this->wc_coupon_id = $wc_coupon_id; $this->target_country = $target_country; $this->google_promotion_id = $google_promotion_id; @@ -105,7 +106,8 @@ public function has_error( int $error_code ): bool { * @return InvalidCouponEntry */ public function map_validation_violations( - ConstraintViolationListInterface $violations ): InvalidCouponEntry { + ConstraintViolationListInterface $violations + ): InvalidCouponEntry { $validation_errors = []; foreach ( $violations as $violation ) { array_push( @@ -127,7 +129,7 @@ public function map_validation_violations( * * @return array */ - public function jsonSerialize(): array { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid + public function jsonSerialize(): array { $data = [ 'woocommerce_id' => $this->get_wc_coupon_id(), 'errors' => $this->get_errors(), diff --git a/src/Google/RequestReviewStatuses.php b/src/Google/RequestReviewStatuses.php index 404838f051..25a4ec928c 100644 --- a/src/Google/RequestReviewStatuses.php +++ b/src/Google/RequestReviewStatuses.php @@ -158,5 +158,4 @@ private function get_cooldown( int $cooldown ) { return $cooldown; } - } diff --git a/src/Google/SiteVerificationMeta.php b/src/Google/SiteVerificationMeta.php index eef628b692..bdcdc2f59e 100644 --- a/src/Google/SiteVerificationMeta.php +++ b/src/Google/SiteVerificationMeta.php @@ -26,7 +26,7 @@ class SiteVerificationMeta implements OptionsAwareInterface, Registerable, Servi public function register(): void { add_action( 'wp_head', - function() { + function () { $this->display_meta_token(); } ); diff --git a/src/Hooks/README.md b/src/Hooks/README.md index bbb17700f2..240c191edb 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/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Admin/BulkEdit/BulkEditInitializer.php#L36) +- [BulkEditInitializer.php#L36](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Admin/BulkEdit/BulkEditInitializer.php#L36) ## woocommerce_admin_disabled @@ -16,7 +16,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [WCAdminValidator.php#L38](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Internal/Requirements/WCAdminValidator.php#L38) +- [WCAdminValidator.php#L38](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Internal/Requirements/WCAdminValidator.php#L38) ## woocommerce_gla_ads_billing_setup_status @@ -24,8 +24,8 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [Ads.php#L112](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Ads.php#L112) -- [Ads.php#L121](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Ads.php#L121) +- [Ads.php#L112](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Ads.php#L112) +- [Ads.php#L121](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Ads.php#L121) ## woocommerce_gla_ads_client_exception @@ -33,24 +33,24 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [AdsCampaign.php#L140](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/AdsCampaign.php#L140) -- [AdsCampaign.php#L183](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/AdsCampaign.php#L183) -- [AdsCampaign.php#L246](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/AdsCampaign.php#L246) -- [AdsCampaign.php#L301](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/AdsCampaign.php#L301) -- [AdsCampaign.php#L335](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/AdsCampaign.php#L335) -- [AdsAssetGroupAsset.php#L135](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/AdsAssetGroupAsset.php#L135) -- [AdsAssetGroupAsset.php#L202](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/AdsAssetGroupAsset.php#L202) -- [Ads.php#L73](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Ads.php#L73) -- [Ads.php#L117](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Ads.php#L117) -- [Ads.php#L172](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Ads.php#L172) -- [Ads.php#L214](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Ads.php#L214) -- [Ads.php#L298](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Ads.php#L298) -- [AdsReport.php#L105](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/AdsReport.php#L105) -- [AdsConversionAction.php#L97](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/AdsConversionAction.php#L97) -- [AdsConversionAction.php#L143](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/AdsConversionAction.php#L143) -- [AdsAssetGroup.php#L113](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/AdsAssetGroup.php#L113) -- [AdsAssetGroup.php#L304](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/AdsAssetGroup.php#L304) -- [AdsAssetGroup.php#L369](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/AdsAssetGroup.php#L369) +- [AdsConversionAction.php#L97](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/AdsConversionAction.php#L97) +- [AdsConversionAction.php#L143](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/AdsConversionAction.php#L143) +- [Ads.php#L73](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Ads.php#L73) +- [Ads.php#L117](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Ads.php#L117) +- [Ads.php#L172](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Ads.php#L172) +- [Ads.php#L214](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Ads.php#L214) +- [Ads.php#L298](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Ads.php#L298) +- [AdsAssetGroupAsset.php#L135](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/AdsAssetGroupAsset.php#L135) +- [AdsAssetGroupAsset.php#L201](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/AdsAssetGroupAsset.php#L201) +- [AdsAssetGroup.php#L113](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/AdsAssetGroup.php#L113) +- [AdsAssetGroup.php#L304](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/AdsAssetGroup.php#L304) +- [AdsAssetGroup.php#L368](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/AdsAssetGroup.php#L368) +- [AdsCampaign.php#L140](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/AdsCampaign.php#L140) +- [AdsCampaign.php#L183](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/AdsCampaign.php#L183) +- [AdsCampaign.php#L246](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/AdsCampaign.php#L246) +- [AdsCampaign.php#L301](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/AdsCampaign.php#L301) +- [AdsCampaign.php#L335](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/AdsCampaign.php#L335) +- [AdsReport.php#L105](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/AdsReport.php#L105) ## woocommerce_gla_ads_setup_completed @@ -58,7 +58,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [SetupCompleteController.php#L46](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Site/Controllers/Ads/SetupCompleteController.php#L46) +- [SetupCompleteController.php#L46](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Site/Controllers/Ads/SetupCompleteController.php#L46) ## woocommerce_gla_attribute_applicable_product_types_ @@ -66,8 +66,8 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [AttributeManager.php#L295](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/Attributes/AttributeManager.php#L295) -- [AttributesForm.php#L69](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Admin/Product/Attributes/AttributesForm.php#L69) +- [AttributeManager.php#L295](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/Attributes/AttributeManager.php#L295) +- [AttributesForm.php#L69](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Admin/Product/Attributes/AttributesForm.php#L69) ## woocommerce_gla_attribute_hidden_product_types_ @@ -75,7 +75,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [AttributesForm.php#L74](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Admin/Product/Attributes/AttributesForm.php#L74) +- [AttributesForm.php#L74](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Admin/Product/Attributes/AttributesForm.php#L74) ## woocommerce_gla_attribute_mapping_sources @@ -83,7 +83,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [IsFieldTrait.php#L31](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L31) +- [IsFieldTrait.php#L31](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L31) ## woocommerce_gla_attribute_mapping_sources_custom_attributes @@ -91,7 +91,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [IsFieldTrait.php#L125](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L125) +- [IsFieldTrait.php#L125](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L125) ## woocommerce_gla_attribute_mapping_sources_global_attributes @@ -99,7 +99,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [IsFieldTrait.php#L64](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L64) +- [IsFieldTrait.php#L64](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L64) ## woocommerce_gla_attribute_mapping_sources_product_fields @@ -107,7 +107,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [IsFieldTrait.php#L115](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L115) +- [IsFieldTrait.php#L115](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L115) ## woocommerce_gla_attribute_mapping_sources_taxonomies @@ -115,7 +115,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [IsFieldTrait.php#L65](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L65) +- [IsFieldTrait.php#L65](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/AttributeMapping/Traits/IsFieldTrait.php#L65) ## woocommerce_gla_attributes_tab_applicable_product_types @@ -123,7 +123,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [AttributesTab.php#L174](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Admin/Product/Attributes/AttributesTab.php#L174) +- [AttributesTab.php#L174](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Admin/Product/Attributes/AttributesTab.php#L174) ## woocommerce_gla_batch_deleted_products @@ -131,7 +131,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [ProductSyncer.php#L229](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductSyncer.php#L229) +- [ProductSyncer.php#L229](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductSyncer.php#L229) ## woocommerce_gla_batch_retry_delete_products @@ -139,7 +139,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [ProductSyncer.php#L343](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductSyncer.php#L343) +- [ProductSyncer.php#L343](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductSyncer.php#L343) ## woocommerce_gla_batch_retry_update_products @@ -147,7 +147,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [ProductSyncer.php#L287](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductSyncer.php#L287) +- [ProductSyncer.php#L287](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductSyncer.php#L287) ## woocommerce_gla_batch_updated_products @@ -155,7 +155,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [ProductSyncer.php#L143](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductSyncer.php#L143) +- [ProductSyncer.php#L143](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductSyncer.php#L143) ## woocommerce_gla_batched_job_size @@ -163,8 +163,8 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [UpdateSyncableProductsCount.php#L74](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Jobs/UpdateSyncableProductsCount.php#L74) -- [AbstractBatchedActionSchedulerJob.php#L104](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Jobs/AbstractBatchedActionSchedulerJob.php#L104) +- [AbstractBatchedActionSchedulerJob.php#L104](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Jobs/AbstractBatchedActionSchedulerJob.php#L104) +- [UpdateSyncableProductsCount.php#L74](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Jobs/UpdateSyncableProductsCount.php#L74) ## woocommerce_gla_bulk_update_coupon @@ -172,7 +172,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [CouponBulkEdit.php#L134](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Admin/BulkEdit/CouponBulkEdit.php#L134) +- [CouponBulkEdit.php#L133](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Admin/BulkEdit/CouponBulkEdit.php#L133) ## woocommerce_gla_conversion_action_name @@ -180,7 +180,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [AdsConversionAction.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/AdsConversionAction.php#L66) +- [AdsConversionAction.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/AdsConversionAction.php#L66) ## woocommerce_gla_coupon_destinations @@ -188,7 +188,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [WCCouponAdapter.php#L392](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/WCCouponAdapter.php#L392) +- [WCCouponAdapter.php#L391](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/WCCouponAdapter.php#L391) ## woocommerce_gla_coupons_delete_retry_on_failure @@ -196,7 +196,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [CouponSyncer.php#L437](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponSyncer.php#L437) +- [CouponSyncer.php#L438](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponSyncer.php#L438) ## woocommerce_gla_coupons_update_retry_on_failure @@ -204,7 +204,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [CouponSyncer.php#L399](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponSyncer.php#L399) +- [CouponSyncer.php#L400](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponSyncer.php#L400) ## woocommerce_gla_custom_merchant_issues @@ -212,7 +212,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [MerchantStatuses.php#L435](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/MerchantCenter/MerchantStatuses.php#L435) +- [MerchantStatuses.php#L435](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/MerchantCenter/MerchantStatuses.php#L435) ## woocommerce_gla_debug_message @@ -220,38 +220,38 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [MerchantStatuses.php#L334](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/MerchantCenter/MerchantStatuses.php#L334) -- [MerchantStatuses.php#L357](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/MerchantCenter/MerchantStatuses.php#L357) -- [MerchantCenterService.php#L305](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/MerchantCenter/MerchantCenterService.php#L305) -- [IssuesController.php#L96](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Site/Controllers/MerchantCenter/IssuesController.php#L96) -- [CouponHelper.php#L255](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponHelper.php#L255) -- [CouponHelper.php#L292](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponHelper.php#L292) -- [CouponSyncer.php#L102](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponSyncer.php#L102) -- [CouponSyncer.php#L115](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponSyncer.php#L115) -- [CouponSyncer.php#L140](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponSyncer.php#L140) -- [CouponSyncer.php#L154](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponSyncer.php#L154) -- [CouponSyncer.php#L171](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponSyncer.php#L171) -- [CouponSyncer.php#L194](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponSyncer.php#L194) -- [CouponSyncer.php#L259](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponSyncer.php#L259) -- [CouponSyncer.php#L308](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponSyncer.php#L308) -- [CouponSyncer.php#L327](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponSyncer.php#L327) -- [SyncerHooks.php#L177](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/SyncerHooks.php#L177) -- [ProductMetaQueryHelper.php#L92](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/DB/ProductMetaQueryHelper.php#L92) -- [ProductMetaQueryHelper.php#L123](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/DB/ProductMetaQueryHelper.php#L123) -- [ActionSchedulerJobMonitor.php#L117](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Jobs/ActionSchedulerJobMonitor.php#L117) -- [ActionSchedulerJobMonitor.php#L126](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Jobs/ActionSchedulerJobMonitor.php#L126) -- [CleanupSyncedProducts.php#L74](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Jobs/CleanupSyncedProducts.php#L74) -- [ProductHelper.php#L459](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductHelper.php#L459) -- [ProductHelper.php#L491](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductHelper.php#L491) -- [ProductRepository.php#L304](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductRepository.php#L304) -- [ProductSyncer.php#L149](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductSyncer.php#L149) -- [ProductSyncer.php#L159](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductSyncer.php#L159) -- [ProductSyncer.php#L235](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductSyncer.php#L235) -- [ProductSyncer.php#L245](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductSyncer.php#L245) -- [BatchProductHelper.php#L208](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/BatchProductHelper.php#L208) -- [BatchProductHelper.php#L231](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/BatchProductHelper.php#L231) -- [SyncerHooks.php#L197](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/SyncerHooks.php#L197) -- [WCProductAdapter.php#L203](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/WCProductAdapter.php#L203) +- [MerchantStatuses.php#L334](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/MerchantCenter/MerchantStatuses.php#L334) +- [MerchantStatuses.php#L357](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/MerchantCenter/MerchantStatuses.php#L357) +- [MerchantCenterService.php#L305](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/MerchantCenter/MerchantCenterService.php#L305) +- [SyncerHooks.php#L197](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/SyncerHooks.php#L197) +- [WCProductAdapter.php#L202](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/WCProductAdapter.php#L202) +- [ProductSyncer.php#L149](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductSyncer.php#L149) +- [ProductSyncer.php#L159](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductSyncer.php#L159) +- [ProductSyncer.php#L235](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductSyncer.php#L235) +- [ProductSyncer.php#L245](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductSyncer.php#L245) +- [ProductHelper.php#L458](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductHelper.php#L458) +- [ProductHelper.php#L490](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductHelper.php#L490) +- [ProductRepository.php#L304](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductRepository.php#L304) +- [BatchProductHelper.php#L208](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/BatchProductHelper.php#L208) +- [BatchProductHelper.php#L231](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/BatchProductHelper.php#L231) +- [SyncerHooks.php#L178](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/SyncerHooks.php#L178) +- [CouponHelper.php#L257](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponHelper.php#L257) +- [CouponHelper.php#L294](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponHelper.php#L294) +- [CouponSyncer.php#L103](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponSyncer.php#L103) +- [CouponSyncer.php#L116](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponSyncer.php#L116) +- [CouponSyncer.php#L141](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponSyncer.php#L141) +- [CouponSyncer.php#L155](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponSyncer.php#L155) +- [CouponSyncer.php#L172](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponSyncer.php#L172) +- [CouponSyncer.php#L195](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponSyncer.php#L195) +- [CouponSyncer.php#L260](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponSyncer.php#L260) +- [CouponSyncer.php#L309](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponSyncer.php#L309) +- [CouponSyncer.php#L328](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponSyncer.php#L328) +- [ProductMetaQueryHelper.php#L92](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/DB/ProductMetaQueryHelper.php#L92) +- [ProductMetaQueryHelper.php#L123](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/DB/ProductMetaQueryHelper.php#L123) +- [ActionSchedulerJobMonitor.php#L117](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Jobs/ActionSchedulerJobMonitor.php#L117) +- [ActionSchedulerJobMonitor.php#L126](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Jobs/ActionSchedulerJobMonitor.php#L126) +- [CleanupSyncedProducts.php#L74](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Jobs/CleanupSyncedProducts.php#L74) +- [IssuesController.php#L96](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Site/Controllers/MerchantCenter/IssuesController.php#L96) ## woocommerce_gla_deleted_promotions @@ -259,7 +259,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [CouponSyncer.php#L321](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponSyncer.php#L321) +- [CouponSyncer.php#L322](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponSyncer.php#L322) ## woocommerce_gla_dimension_unit @@ -267,7 +267,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [WCProductAdapter.php#L427](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/WCProductAdapter.php#L427) +- [WCProductAdapter.php#L426](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/WCProductAdapter.php#L426) ## woocommerce_gla_disable_gtag_tracking @@ -275,7 +275,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [GlobalSiteTag.php#L464](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Google/GlobalSiteTag.php#L464) +- [GlobalSiteTag.php#L464](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Google/GlobalSiteTag.php#L464) ## woocommerce_gla_enable_connection_test @@ -283,7 +283,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [ConnectionTest.php#L87](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/ConnectionTest.php#L87) +- [ConnectionTest.php#L87](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/ConnectionTest.php#L87) ## woocommerce_gla_enable_debug_logging @@ -291,7 +291,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [DebugLogger.php#L33](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Logging/DebugLogger.php#L33) +- [DebugLogger.php#L33](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Logging/DebugLogger.php#L33) ## woocommerce_gla_enable_mcm @@ -299,7 +299,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [GLAChannel.php#L75](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/MultichannelMarketing/GLAChannel.php#L75) +- [GLAChannel.php#L75](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/MultichannelMarketing/GLAChannel.php#L75) ## woocommerce_gla_enable_reports @@ -307,7 +307,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [Admin.php#L265](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Admin/Admin.php#L265) +- [Admin.php#L265](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Admin/Admin.php#L265) ## woocommerce_gla_error @@ -315,23 +315,23 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [PHPView.php#L136](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/View/PHPView.php#L136) -- [PHPView.php#L164](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/View/PHPView.php#L164) -- [PHPView.php#L208](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/View/PHPView.php#L208) -- [CouponMetaHandler.php#L220](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponMetaHandler.php#L220) -- [CouponSyncer.php#L409](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponSyncer.php#L409) -- [CouponSyncer.php#L447](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponSyncer.php#L447) -- [CouponSyncer.php#L465](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponSyncer.php#L465) -- [ProductMetaQueryHelper.php#L139](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/DB/ProductMetaQueryHelper.php#L139) -- [ProductHelper.php#L351](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductHelper.php#L351) -- [ProductHelper.php#L567](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductHelper.php#L567) -- [ProductSyncer.php#L290](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductSyncer.php#L290) -- [ProductSyncer.php#L313](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductSyncer.php#L313) -- [ProductSyncer.php#L346](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductSyncer.php#L346) -- [ProductSyncer.php#L361](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductSyncer.php#L361) -- [AttributeManager.php#L269](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/Attributes/AttributeManager.php#L269) -- [ProductMetaHandler.php#L173](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductMetaHandler.php#L173) -- [BatchProductHelper.php#L248](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/BatchProductHelper.php#L248) +- [PHPView.php#L136](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/View/PHPView.php#L136) +- [PHPView.php#L164](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/View/PHPView.php#L164) +- [PHPView.php#L208](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/View/PHPView.php#L208) +- [ProductSyncer.php#L290](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductSyncer.php#L290) +- [ProductSyncer.php#L313](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductSyncer.php#L313) +- [ProductSyncer.php#L346](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductSyncer.php#L346) +- [ProductSyncer.php#L361](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductSyncer.php#L361) +- [ProductHelper.php#L350](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductHelper.php#L350) +- [ProductHelper.php#L566](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductHelper.php#L566) +- [AttributeManager.php#L269](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/Attributes/AttributeManager.php#L269) +- [ProductMetaHandler.php#L173](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductMetaHandler.php#L173) +- [BatchProductHelper.php#L248](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/BatchProductHelper.php#L248) +- [CouponMetaHandler.php#L220](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponMetaHandler.php#L220) +- [CouponSyncer.php#L410](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponSyncer.php#L410) +- [CouponSyncer.php#L448](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponSyncer.php#L448) +- [CouponSyncer.php#L466](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponSyncer.php#L466) +- [ProductMetaQueryHelper.php#L139](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/DB/ProductMetaQueryHelper.php#L139) ## woocommerce_gla_exception @@ -339,27 +339,27 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [NoteInitializer.php#L74](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Notes/NoteInitializer.php#L74) -- [NoteInitializer.php#L116](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Notes/NoteInitializer.php#L116) -- [SettingsSyncController.php#L79](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Site/Controllers/MerchantCenter/SettingsSyncController.php#L79) -- [ProductVisibilityController.php#L193](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Site/Controllers/MerchantCenter/ProductVisibilityController.php#L193) -- [ContactInformationController.php#L242](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Site/Controllers/MerchantCenter/ContactInformationController.php#L242) -- [Connection.php#L95](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Connection.php#L95) -- [PHPView.php#L87](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/View/PHPView.php#L87) -- [CouponSyncer.php#L202](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponSyncer.php#L202) -- [CouponSyncer.php#L292](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponSyncer.php#L292) -- [GoogleServiceProvider.php#L232](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Internal/DependencyManagement/GoogleServiceProvider.php#L232) -- [PluginUpdate.php#L75](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Jobs/Update/PluginUpdate.php#L75) -- [ScriptWithBuiltDependenciesAsset.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Assets/ScriptWithBuiltDependenciesAsset.php#L66) -- [ClearProductStatsCache.php#L61](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Event/ClearProductStatsCache.php#L61) -- [ProductSyncer.php#L134](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductSyncer.php#L134) -- [ProductSyncer.php#L220](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductSyncer.php#L220) -- [DateTime.php#L44](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Admin/Input/DateTime.php#L44) -- [DateTime.php#L80](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Admin/Input/DateTime.php#L80) -- [ChannelVisibilityMetaBox.php#L176](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Admin/MetaBox/ChannelVisibilityMetaBox.php#L176) -- [CouponChannelVisibilityMetaBox.php#L197](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Admin/MetaBox/CouponChannelVisibilityMetaBox.php#L197) -- [WooCommercePreOrders.php#L111](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Integration/WooCommercePreOrders.php#L111) -- [WooCommercePreOrders.php#L131](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Integration/WooCommercePreOrders.php#L131) +- [PHPView.php#L87](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/View/PHPView.php#L87) +- [ProductSyncer.php#L134](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductSyncer.php#L134) +- [ProductSyncer.php#L220](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductSyncer.php#L220) +- [NoteInitializer.php#L74](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Notes/NoteInitializer.php#L74) +- [NoteInitializer.php#L116](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Notes/NoteInitializer.php#L116) +- [CouponSyncer.php#L203](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponSyncer.php#L203) +- [CouponSyncer.php#L293](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponSyncer.php#L293) +- [WooCommercePreOrders.php#L111](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Integration/WooCommercePreOrders.php#L111) +- [WooCommercePreOrders.php#L131](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Integration/WooCommercePreOrders.php#L131) +- [GoogleServiceProvider.php#L232](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Internal/DependencyManagement/GoogleServiceProvider.php#L232) +- [DateTime.php#L44](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Admin/Input/DateTime.php#L44) +- [DateTime.php#L80](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Admin/Input/DateTime.php#L80) +- [ChannelVisibilityMetaBox.php#L176](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Admin/MetaBox/ChannelVisibilityMetaBox.php#L176) +- [CouponChannelVisibilityMetaBox.php#L197](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Admin/MetaBox/CouponChannelVisibilityMetaBox.php#L197) +- [PluginUpdate.php#L75](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Jobs/Update/PluginUpdate.php#L75) +- [Connection.php#L95](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Connection.php#L95) +- [ProductVisibilityController.php#L193](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Site/Controllers/MerchantCenter/ProductVisibilityController.php#L193) +- [SettingsSyncController.php#L79](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Site/Controllers/MerchantCenter/SettingsSyncController.php#L79) +- [ContactInformationController.php#L242](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Site/Controllers/MerchantCenter/ContactInformationController.php#L242) +- [ScriptWithBuiltDependenciesAsset.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Assets/ScriptWithBuiltDependenciesAsset.php#L66) +- [ClearProductStatsCache.php#L61](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Event/ClearProductStatsCache.php#L61) ## woocommerce_gla_force_run_install @@ -367,7 +367,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [Installer.php#L82](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Installer.php#L82) +- [Installer.php#L82](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Installer.php#L82) ## woocommerce_gla_get_google_product_offer_id @@ -375,7 +375,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [WCProductAdapter.php#L280](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/WCProductAdapter.php#L280) +- [WCProductAdapter.php#L279](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/WCProductAdapter.php#L279) ## woocommerce_gla_get_sync_ready_products_filter @@ -383,7 +383,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/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductFilter.php#L61) +- [ProductFilter.php#L61](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductFilter.php#L61) ## woocommerce_gla_get_sync_ready_products_pre_filter @@ -391,7 +391,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/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductFilter.php#L47) +- [ProductFilter.php#L47](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductFilter.php#L47) ## woocommerce_gla_get_wc_product_id @@ -399,7 +399,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [ProductHelper.php#L278](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductHelper.php#L278) +- [ProductHelper.php#L277](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductHelper.php#L277) ## woocommerce_gla_guzzle_client_exception @@ -407,20 +407,20 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [Connection.php#L70](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Connection.php#L70) -- [Connection.php#L91](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Connection.php#L91) -- [Connection.php#L126](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Connection.php#L126) -- [Middleware.php#L80](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Middleware.php#L80) -- [Middleware.php#L178](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Middleware.php#L178) -- [Middleware.php#L228](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Middleware.php#L228) -- [Middleware.php#L273](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Middleware.php#L273) -- [Middleware.php#L344](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Middleware.php#L344) -- [Middleware.php#L394](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Middleware.php#L394) -- [Middleware.php#L418](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Middleware.php#L418) -- [Middleware.php#L452](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Middleware.php#L452) -- [Middleware.php#L552](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Middleware.php#L552) -- [Middleware.php#L611](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Middleware.php#L611) -- [GoogleServiceProvider.php#L256](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Internal/DependencyManagement/GoogleServiceProvider.php#L256) +- [GoogleServiceProvider.php#L256](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Internal/DependencyManagement/GoogleServiceProvider.php#L256) +- [Connection.php#L70](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Connection.php#L70) +- [Connection.php#L91](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Connection.php#L91) +- [Connection.php#L126](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Connection.php#L126) +- [Middleware.php#L80](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Middleware.php#L80) +- [Middleware.php#L178](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Middleware.php#L178) +- [Middleware.php#L228](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Middleware.php#L228) +- [Middleware.php#L273](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Middleware.php#L273) +- [Middleware.php#L344](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Middleware.php#L344) +- [Middleware.php#L394](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Middleware.php#L394) +- [Middleware.php#L418](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Middleware.php#L418) +- [Middleware.php#L452](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Middleware.php#L452) +- [Middleware.php#L552](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Middleware.php#L552) +- [Middleware.php#L611](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Middleware.php#L611) ## woocommerce_gla_guzzle_invalid_response @@ -428,15 +428,23 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [Connection.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Connection.php#L66) -- [Connection.php#L121](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Connection.php#L121) -- [Middleware.php#L159](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Middleware.php#L159) -- [Middleware.php#L223](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Middleware.php#L223) -- [Middleware.php#L267](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Middleware.php#L267) -- [Middleware.php#L339](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Middleware.php#L339) -- [Middleware.php#L389](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Middleware.php#L389) -- [Middleware.php#L548](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Middleware.php#L548) -- [Middleware.php#L599](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Middleware.php#L599) +- [Connection.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Connection.php#L66) +- [Connection.php#L121](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Connection.php#L121) +- [Middleware.php#L159](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Middleware.php#L159) +- [Middleware.php#L223](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Middleware.php#L223) +- [Middleware.php#L267](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Middleware.php#L267) +- [Middleware.php#L339](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Middleware.php#L339) +- [Middleware.php#L389](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Middleware.php#L389) +- [Middleware.php#L548](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Middleware.php#L548) +- [Middleware.php#L599](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Middleware.php#L599) + +## woocommerce_gla_handle_shipping_method_to_rates + +**Type**: filter + +**Used in**: + +- [ZoneMethodsParser.php#L106](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Shipping/ZoneMethodsParser.php#L106) ## woocommerce_gla_hidden_coupon_types @@ -444,7 +452,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [CouponSyncer.php#L378](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponSyncer.php#L378) +- [CouponSyncer.php#L379](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponSyncer.php#L379) ## woocommerce_gla_job_failure_rate_threshold @@ -452,7 +460,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/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Jobs/ActionSchedulerJobMonitor.php#L186) +- [ActionSchedulerJobMonitor.php#L186](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Jobs/ActionSchedulerJobMonitor.php#L186) ## woocommerce_gla_job_failure_timeframe @@ -460,7 +468,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/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Jobs/ActionSchedulerJobMonitor.php#L195) +- [ActionSchedulerJobMonitor.php#L195](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Jobs/ActionSchedulerJobMonitor.php#L195) ## woocommerce_gla_mapping_rules_change @@ -468,9 +476,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/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Site/Controllers/AttributeMapping/AttributeMappingRulesController.php#L143) -- [AttributeMappingRulesController.php#L166](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Site/Controllers/AttributeMapping/AttributeMappingRulesController.php#L166) -- [AttributeMappingRulesController.php#L188](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Site/Controllers/AttributeMapping/AttributeMappingRulesController.php#L188) +- [AttributeMappingRulesController.php#L143](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Site/Controllers/AttributeMapping/AttributeMappingRulesController.php#L143) +- [AttributeMappingRulesController.php#L166](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Site/Controllers/AttributeMapping/AttributeMappingRulesController.php#L166) +- [AttributeMappingRulesController.php#L188](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Site/Controllers/AttributeMapping/AttributeMappingRulesController.php#L188) ## woocommerce_gla_mc_account_review_lifetime @@ -478,7 +486,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [RequestReviewStatuses.php#L146](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Google/RequestReviewStatuses.php#L146) +- [RequestReviewStatuses.php#L146](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Google/RequestReviewStatuses.php#L146) ## woocommerce_gla_mc_client_exception @@ -486,14 +494,14 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [MerchantReport.php#L95](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/MerchantReport.php#L95) -- [Merchant.php#L92](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Merchant.php#L92) -- [Merchant.php#L140](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Merchant.php#L140) -- [Merchant.php#L172](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Merchant.php#L172) -- [Merchant.php#L191](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Merchant.php#L191) -- [Merchant.php#L247](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Merchant.php#L247) -- [Merchant.php#L292](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Merchant.php#L292) -- [Merchant.php#L354](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Merchant.php#L354) +- [MerchantReport.php#L95](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/MerchantReport.php#L95) +- [Merchant.php#L92](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Merchant.php#L92) +- [Merchant.php#L140](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Merchant.php#L140) +- [Merchant.php#L172](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Merchant.php#L172) +- [Merchant.php#L191](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Merchant.php#L191) +- [Merchant.php#L247](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Merchant.php#L247) +- [Merchant.php#L292](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Merchant.php#L292) +- [Merchant.php#L354](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Merchant.php#L354) ## woocommerce_gla_mc_settings_sync @@ -501,7 +509,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/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Site/Controllers/MerchantCenter/SettingsSyncController.php#L69) +- [SettingsSyncController.php#L69](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Site/Controllers/MerchantCenter/SettingsSyncController.php#L69) ## woocommerce_gla_mc_status_lifetime @@ -509,7 +517,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [MerchantStatuses.php#L778](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/MerchantCenter/MerchantStatuses.php#L778) +- [MerchantStatuses.php#L778](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/MerchantCenter/MerchantStatuses.php#L778) ## woocommerce_gla_merchant_issue_override @@ -517,7 +525,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [IssuesController.php#L86](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Site/Controllers/MerchantCenter/IssuesController.php#L86) +- [IssuesController.php#L86](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Site/Controllers/MerchantCenter/IssuesController.php#L86) ## woocommerce_gla_merchant_status_google_ids_chunk @@ -525,7 +533,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [MerchantStatuses.php#L191](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/MerchantCenter/MerchantStatuses.php#L191) +- [MerchantStatuses.php#L191](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/MerchantCenter/MerchantStatuses.php#L191) ## woocommerce_gla_merchant_status_presync_issues_chunk @@ -533,7 +541,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [MerchantStatuses.php#L531](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/MerchantCenter/MerchantStatuses.php#L531) +- [MerchantStatuses.php#L531](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/MerchantCenter/MerchantStatuses.php#L531) ## woocommerce_gla_options_deleted_ @@ -541,7 +549,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/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Options/Options.php#L103) +- [Options.php#L103](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Options/Options.php#L103) ## woocommerce_gla_options_updated_ @@ -549,8 +557,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/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Options/Options.php#L65) -- [Options.php#L85](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Options/Options.php#L85) +- [Options.php#L65](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Options/Options.php#L65) +- [Options.php#L85](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Options/Options.php#L85) ## woocommerce_gla_prepared_response_->GET_ROUTE_NAME @@ -558,7 +566,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [BaseController.php#L158](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Site/Controllers/BaseController.php#L158) +- [BaseController.php#L160](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Site/Controllers/BaseController.php#L160) ## woocommerce_gla_product_attribute_types @@ -566,7 +574,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [AttributeManager.php#L243](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/Attributes/AttributeManager.php#L243) +- [AttributeManager.php#L243](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/Attributes/AttributeManager.php#L243) ## woocommerce_gla_product_attribute_value_ @@ -574,8 +582,8 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [WCProductAdapter.php#L901](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/WCProductAdapter.php#L901) -- [WCProductAdapter.php#L952](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/WCProductAdapter.php#L952) +- [WCProductAdapter.php#L905](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/WCProductAdapter.php#L905) +- [WCProductAdapter.php#L956](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/WCProductAdapter.php#L956) ## woocommerce_gla_product_attribute_value_description @@ -583,7 +591,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [WCProductAdapter.php#L348](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/WCProductAdapter.php#L348) +- [WCProductAdapter.php#L347](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/WCProductAdapter.php#L347) ## woocommerce_gla_product_attribute_value_options_::get_id @@ -591,7 +599,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [AttributesForm.php#L108](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Admin/Product/Attributes/AttributesForm.php#L108) +- [AttributesForm.php#L108](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Admin/Product/Attributes/AttributesForm.php#L108) ## woocommerce_gla_product_attribute_value_price @@ -599,7 +607,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [WCProductAdapter.php#L630](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/WCProductAdapter.php#L630) +- [WCProductAdapter.php#L629](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/WCProductAdapter.php#L629) ## woocommerce_gla_product_attribute_value_sale_price @@ -607,7 +615,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [WCProductAdapter.php#L680](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/WCProductAdapter.php#L680) +- [WCProductAdapter.php#L681](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/WCProductAdapter.php#L681) ## woocommerce_gla_product_attribute_values @@ -615,7 +623,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/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/WCProductAdapter.php#L167) +- [WCProductAdapter.php#L166](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/WCProductAdapter.php#L166) ## woocommerce_gla_product_description_apply_shortcodes @@ -623,7 +631,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [WCProductAdapter.php#L317](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/WCProductAdapter.php#L317) +- [WCProductAdapter.php#L316](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/WCProductAdapter.php#L316) ## woocommerce_gla_product_property_value_is_virtual @@ -631,7 +639,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [WCProductAdapter.php#L767](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/WCProductAdapter.php#L767) +- [WCProductAdapter.php#L771](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/WCProductAdapter.php#L771) ## woocommerce_gla_product_query_args @@ -639,7 +647,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [ProductRepository.php#L360](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductRepository.php#L360) +- [ProductRepository.php#L360](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductRepository.php#L360) ## woocommerce_gla_products_delete_retry_on_failure @@ -647,7 +655,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/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductSyncer.php#L342) +- [ProductSyncer.php#L342](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductSyncer.php#L342) ## woocommerce_gla_products_update_retry_on_failure @@ -655,7 +663,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/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductSyncer.php#L286) +- [ProductSyncer.php#L286](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductSyncer.php#L286) ## woocommerce_gla_ready_for_syncing @@ -663,7 +671,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [MerchantCenterService.php#L118](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/MerchantCenter/MerchantCenterService.php#L118) +- [MerchantCenterService.php#L118](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/MerchantCenter/MerchantCenterService.php#L118) ## woocommerce_gla_request_review_failure @@ -671,9 +679,9 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [RequestReviewController.php#L110](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Site/Controllers/MerchantCenter/RequestReviewController.php#L110) -- [RequestReviewController.php#L122](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Site/Controllers/MerchantCenter/RequestReviewController.php#L122) -- [Middleware.php#L592](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Middleware.php#L592) +- [Middleware.php#L592](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Middleware.php#L592) +- [RequestReviewController.php#L110](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Site/Controllers/MerchantCenter/RequestReviewController.php#L110) +- [RequestReviewController.php#L122](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Site/Controllers/MerchantCenter/RequestReviewController.php#L122) ## woocommerce_gla_request_review_response @@ -681,7 +689,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [Middleware.php#L545](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Middleware.php#L545) +- [Middleware.php#L545](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Middleware.php#L545) ## woocommerce_gla_retry_delete_coupons @@ -689,7 +697,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [CouponSyncer.php#L442](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponSyncer.php#L442) +- [CouponSyncer.php#L443](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponSyncer.php#L443) ## woocommerce_gla_retry_update_coupons @@ -697,7 +705,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [CouponSyncer.php#L404](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponSyncer.php#L404) +- [CouponSyncer.php#L405](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponSyncer.php#L405) ## woocommerce_gla_site_claim_failure @@ -705,10 +713,10 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [AccountService.php#L365](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/MerchantCenter/AccountService.php#L365) -- [Middleware.php#L268](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Middleware.php#L268) -- [Middleware.php#L274](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Middleware.php#L274) -- [Merchant.php#L93](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Merchant.php#L93) +- [AccountService.php#L365](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/MerchantCenter/AccountService.php#L365) +- [Merchant.php#L93](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Merchant.php#L93) +- [Middleware.php#L268](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Middleware.php#L268) +- [Middleware.php#L274](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Middleware.php#L274) ## woocommerce_gla_site_claim_overwrite_required @@ -716,7 +724,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [AccountService.php#L360](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/MerchantCenter/AccountService.php#L360) +- [AccountService.php#L360](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/MerchantCenter/AccountService.php#L360) ## woocommerce_gla_site_claim_success @@ -724,8 +732,8 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [Middleware.php#L263](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Middleware.php#L263) -- [Merchant.php#L90](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/Merchant.php#L90) +- [Merchant.php#L90](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Merchant.php#L90) +- [Middleware.php#L263](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/Middleware.php#L263) ## woocommerce_gla_site_url @@ -733,7 +741,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [PluginHelper.php#L189](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/PluginHelper.php#L189) +- [PluginHelper.php#L189](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/PluginHelper.php#L189) ## woocommerce_gla_site_verify_failure @@ -741,9 +749,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/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/SiteVerification.php#L58) -- [SiteVerification.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/SiteVerification.php#L66) -- [SiteVerification.php#L87](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/SiteVerification.php#L87) +- [SiteVerification.php#L58](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/SiteVerification.php#L58) +- [SiteVerification.php#L66](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/SiteVerification.php#L66) +- [SiteVerification.php#L87](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/SiteVerification.php#L87) ## woocommerce_gla_site_verify_success @@ -751,7 +759,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/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/SiteVerification.php#L85) +- [SiteVerification.php#L85](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/SiteVerification.php#L85) ## woocommerce_gla_supported_coupon_types @@ -759,7 +767,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [CouponSyncer.php#L365](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponSyncer.php#L365) +- [CouponSyncer.php#L366](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponSyncer.php#L366) ## woocommerce_gla_supported_product_types @@ -767,7 +775,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [ProductSyncer.php#L264](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductSyncer.php#L264) +- [ProductSyncer.php#L264](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductSyncer.php#L264) ## woocommerce_gla_sv_client_exception @@ -775,8 +783,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/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/SiteVerification.php#L120) -- [SiteVerification.php#L162](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/API/Google/SiteVerification.php#L162) +- [SiteVerification.php#L120](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/SiteVerification.php#L120) +- [SiteVerification.php#L162](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/API/Google/SiteVerification.php#L162) ## woocommerce_gla_tax_excluded @@ -784,7 +792,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [WCProductAdapter.php#L591](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/WCProductAdapter.php#L591) +- [WCProductAdapter.php#L590](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/WCProductAdapter.php#L590) ## woocommerce_gla_updated_coupon @@ -792,7 +800,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [CouponSyncer.php#L168](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Coupon/CouponSyncer.php#L168) +- [CouponSyncer.php#L169](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Coupon/CouponSyncer.php#L169) ## woocommerce_gla_url_switch_required @@ -800,7 +808,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [AccountService.php#L445](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/MerchantCenter/AccountService.php#L445) +- [AccountService.php#L445](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/MerchantCenter/AccountService.php#L445) ## woocommerce_gla_url_switch_success @@ -808,7 +816,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [AccountService.php#L468](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/MerchantCenter/AccountService.php#L468) +- [AccountService.php#L468](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/MerchantCenter/AccountService.php#L468) ## woocommerce_gla_use_short_description @@ -816,7 +824,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [WCProductAdapter.php#L294](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/WCProductAdapter.php#L294) +- [WCProductAdapter.php#L293](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/WCProductAdapter.php#L293) ## woocommerce_gla_wcs_url @@ -824,8 +832,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/71782f1fad6de5af58f5dd060abbd2dc23855978/src/PluginHelper.php#L174) -- [PluginHelper.php#L178](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/PluginHelper.php#L178) +- [PluginHelper.php#L174](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/PluginHelper.php#L174) +- [PluginHelper.php#L178](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/PluginHelper.php#L178) ## woocommerce_gla_weight_unit @@ -833,7 +841,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [WCProductAdapter.php#L428](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/WCProductAdapter.php#L428) +- [WCProductAdapter.php#L427](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/WCProductAdapter.php#L427) ## woocommerce_hide_invisible_variations @@ -841,5 +849,5 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [ProductHelper.php#L366](https://github.com/woocommerce/google-listings-and-ads/blob/71782f1fad6de5af58f5dd060abbd2dc23855978/src/Product/ProductHelper.php#L366) +- [ProductHelper.php#L365](https://github.com/woocommerce/google-listings-and-ads/blob/3cacf043e0a630c35a047f8c1678d528bd703178/src/Product/ProductHelper.php#L365) diff --git a/src/Infrastructure/GoogleListingsAndAdsPlugin.php b/src/Infrastructure/GoogleListingsAndAdsPlugin.php index 315d230d67..8275f0d383 100644 --- a/src/Infrastructure/GoogleListingsAndAdsPlugin.php +++ b/src/Infrastructure/GoogleListingsAndAdsPlugin.php @@ -62,9 +62,6 @@ public function activate(): void { $service->activate(); } } - - flush_rewrite_rules(); - } /** @@ -80,8 +77,6 @@ public function deactivate(): void { $service->deactivate(); } } - - flush_rewrite_rules(); } /** @@ -92,7 +87,7 @@ public function deactivate(): void { public function register(): void { add_action( self::SERVICE_REGISTRATION_HOOK, - function() { + function () { $this->maybe_register_services(); }, 20 @@ -100,7 +95,7 @@ function() { add_action( 'init', - function() { + function () { // register the job initializer only if it is available. see JobInitializer::is_needed. if ( $this->container->has( JobInitializer::class ) ) { $this->container->get( JobInitializer::class )->register(); @@ -114,7 +109,6 @@ function() { } } ); - } /** diff --git a/src/Installer.php b/src/Installer.php index 7b8c7bad91..3fce7607c6 100644 --- a/src/Installer.php +++ b/src/Installer.php @@ -62,7 +62,7 @@ public function __construct( array $installables, array $first_installers, WP $w public function register(): void { add_action( 'admin_init', - function() { + function () { $this->admin_init(); } ); diff --git a/src/Integration/WooCommerceProductBundles.php b/src/Integration/WooCommerceProductBundles.php index d93139aa56..4084f5a6f1 100644 --- a/src/Integration/WooCommerceProductBundles.php +++ b/src/Integration/WooCommerceProductBundles.php @@ -228,5 +228,4 @@ function ( WC_Product $product ) { } ); } - } diff --git a/src/Internal/DependencyManagement/AbstractServiceProvider.php b/src/Internal/DependencyManagement/AbstractServiceProvider.php index 0c50809983..9284846e0e 100644 --- a/src/Internal/DependencyManagement/AbstractServiceProvider.php +++ b/src/Internal/DependencyManagement/AbstractServiceProvider.php @@ -51,27 +51,27 @@ public function register() { /** * Add an interface to the container. * - * @param string $interface The interface to add. - * @param string|null $concrete (Optional) The concrete class. + * @param string $interface_name The interface to add. + * @param string|null $concrete (Optional) The concrete class. * * @return DefinitionInterface */ - protected function share_concrete( string $interface, $concrete = null ): DefinitionInterface { - return $this->getLeagueContainer()->share( $interface, $concrete ); + protected function share_concrete( string $interface_name, $concrete = null ): DefinitionInterface { + return $this->getLeagueContainer()->share( $interface_name, $concrete ); } /** * Share a class and add interfaces as tags. * - * @param string $class The class name to add. + * @param string $class_name The class name to add. * @param mixed ...$arguments Constructor arguments for the class. * * @return DefinitionInterface */ - protected function share_with_tags( string $class, ...$arguments ): DefinitionInterface { - $definition = $this->share( $class, ...$arguments ); - foreach ( class_implements( $class ) as $interface ) { - $definition->addTag( $interface ); + protected function share_with_tags( string $class_name, ...$arguments ): DefinitionInterface { + $definition = $this->share( $class_name, ...$arguments ); + foreach ( class_implements( $class_name ) as $interface_name ) { + $definition->addTag( $interface_name ); } return $definition; @@ -83,13 +83,13 @@ protected function share_with_tags( string $class, ...$arguments ): DefinitionIn * Shared classes will always return the same instance of the class when the class is requested * from the container. * - * @param string $class The class name to add. + * @param string $class_name The class name to add. * @param mixed ...$arguments Constructor arguments for the class. * * @return DefinitionInterface */ - protected function share( string $class, ...$arguments ): DefinitionInterface { - return $this->getLeagueContainer()->share( $class )->addArguments( $arguments ); + protected function share( string $class_name, ...$arguments ): DefinitionInterface { + return $this->getLeagueContainer()->share( $class_name )->addArguments( $arguments ); } /** @@ -97,13 +97,13 @@ protected function share( string $class, ...$arguments ): DefinitionInterface { * * Classes will return a new instance of the class when the class is requested from the container. * - * @param string $class The class name to add. + * @param string $class_name The class name to add. * @param mixed ...$arguments Constructor arguments for the class. * * @return DefinitionInterface */ - protected function add( string $class, ...$arguments ): DefinitionInterface { - return $this->getLeagueContainer()->add( $class )->addArguments( $arguments ); + protected function add( string $class_name, ...$arguments ): DefinitionInterface { + return $this->getLeagueContainer()->add( $class_name )->addArguments( $arguments ); } /** @@ -112,19 +112,19 @@ protected function add( string $class, ...$arguments ): DefinitionInterface { * This will also check any classes that implement the Conditional interface and only add them if * they are needed. * - * @param string $class The class name to add. + * @param string $class_name The class name to add. * @param mixed ...$arguments Constructor arguments for the class. */ - protected function conditionally_share_with_tags( string $class, ...$arguments ) { - $implements = class_implements( $class ); + protected function conditionally_share_with_tags( string $class_name, ...$arguments ) { + $implements = class_implements( $class_name ); if ( array_key_exists( Conditional::class, $implements ) ) { /** @var Conditional $class */ - if ( ! $class::is_needed() ) { + if ( ! $class_name::is_needed() ) { return; } } - $this->provides[ $class ] = true; - $this->share_with_tags( $class, ...$arguments ); + $this->provides[ $class_name ] = true; + $this->share_with_tags( $class_name, ...$arguments ); } } diff --git a/src/Internal/DependencyManagement/CoreServiceProvider.php b/src/Internal/DependencyManagement/CoreServiceProvider.php index 3ac9f2b74f..ab8a3009e3 100644 --- a/src/Internal/DependencyManagement/CoreServiceProvider.php +++ b/src/Internal/DependencyManagement/CoreServiceProvider.php @@ -231,14 +231,14 @@ public function register(): void { // Set up Options, and inflect classes that need options. $this->share_concrete( OptionsInterface::class, Options::class ); $this->getLeagueContainer() - ->inflector( OptionsAwareInterface::class ) - ->invokeMethod( 'set_options_object', [ OptionsInterface::class ] ); + ->inflector( OptionsAwareInterface::class ) + ->invokeMethod( 'set_options_object', [ OptionsInterface::class ] ); // Share helper classes, and inflect classes that need it. $this->share_with_tags( GoogleHelper::class, WC::class ); $this->getLeagueContainer() - ->inflector( GoogleHelperAwareInterface::class ) - ->invokeMethod( 'set_google_helper_object', [ GoogleHelper::class ] ); + ->inflector( GoogleHelperAwareInterface::class ) + ->invokeMethod( 'set_google_helper_object', [ GoogleHelper::class ] ); // Set up the TargetAudience service. $this->share_with_tags( TargetAudience::class, WC::class, OptionsInterface::class, GoogleHelper::class ); @@ -246,15 +246,15 @@ public function register(): void { // Set up MerchantCenter service, and inflect classes that need it. $this->share_with_tags( MerchantCenterService::class ); $this->getLeagueContainer() - ->inflector( MerchantCenterAwareInterface::class ) - ->invokeMethod( 'set_merchant_center_object', [ MerchantCenterService::class ] ); + ->inflector( MerchantCenterAwareInterface::class ) + ->invokeMethod( 'set_merchant_center_object', [ MerchantCenterService::class ] ); // Set up Ads service, and inflect classes that need it. $this->share_with_tags( AdsAccountState::class ); $this->share_with_tags( AdsService::class, AdsAccountState::class ); $this->getLeagueContainer() - ->inflector( AdsAwareInterface::class ) - ->invokeMethod( 'set_ads_object', [ AdsService::class ] ); + ->inflector( AdsAwareInterface::class ) + ->invokeMethod( 'set_ads_object', [ AdsService::class ] ); $this->share_with_tags( AssetSuggestionsService::class, WP::class, WC::class, ImageUtility::class, wpdb::class, AdsAssetGroupAsset::class ); // Set up the installer. @@ -370,8 +370,8 @@ function ( ...$arguments ) { // Set up inflector for tracks classes. $this->getLeagueContainer() - ->inflector( TracksAwareInterface::class ) - ->invokeMethod( 'set_tracks', [ TracksInterface::class ] ); + ->inflector( TracksAwareInterface::class ) + ->invokeMethod( 'set_tracks', [ TracksInterface::class ] ); // Share admin meta boxes $this->conditionally_share_with_tags( ChannelVisibilityMetaBox::class, Admin::class, ProductMetaHandler::class, ProductHelper::class, MerchantCenterService::class ); diff --git a/src/Internal/DependencyManagement/DBServiceProvider.php b/src/Internal/DependencyManagement/DBServiceProvider.php index 230e78cc12..e6e6fdcf8f 100644 --- a/src/Internal/DependencyManagement/DBServiceProvider.php +++ b/src/Internal/DependencyManagement/DBServiceProvider.php @@ -106,13 +106,13 @@ public function register() { /** * Add a query class. * - * @param string $class + * @param string $class_name * @param mixed ...$arguments * * @return DefinitionInterface */ - protected function add_query_class( string $class, ...$arguments ): DefinitionInterface { - return $this->add( $class, wpdb::class, ...$arguments )->addTag( 'db_query' ); + protected function add_query_class( string $class_name, ...$arguments ): DefinitionInterface { + return $this->add( $class_name, wpdb::class, ...$arguments )->addTag( 'db_query' ); } /** @@ -121,29 +121,29 @@ protected function add_query_class( string $class, ...$arguments ): DefinitionIn * Shared classes will always return the same instance of the class when the class is requested * from the container. * - * @param string $class The class name to add. + * @param string $class_name The class name to add. * @param mixed ...$arguments Constructor arguments for the class. * * @return DefinitionInterface */ - protected function share_table_class( string $class, ...$arguments ): DefinitionInterface { - return parent::share( $class, WP::class, wpdb::class, ...$arguments )->addTag( 'db_table' ); + protected function share_table_class( string $class_name, ...$arguments ): DefinitionInterface { + return parent::share( $class_name, WP::class, wpdb::class, ...$arguments )->addTag( 'db_table' ); } /** * Share a migration class. * - * @param string $class The class name to add. + * @param string $class_name The class name to add. * @param mixed ...$arguments Constructor arguments for the class. * * @throws InvalidClass When the given class does not implement the MigrationInterface. * * @since 1.4.1 */ - protected function share_migration( string $class, ...$arguments ) { - $this->validate_interface( $class, MigrationInterface::class ); + protected function share_migration( string $class_name, ...$arguments ) { + $this->validate_interface( $class_name, MigrationInterface::class ); $this->share_with_tags( - $class, + $class_name, wpdb::class, ...$arguments ); diff --git a/src/Internal/DependencyManagement/GoogleServiceProvider.php b/src/Internal/DependencyManagement/GoogleServiceProvider.php index 77a49a1b3d..e916c862ca 100644 --- a/src/Internal/DependencyManagement/GoogleServiceProvider.php +++ b/src/Internal/DependencyManagement/GoogleServiceProvider.php @@ -130,7 +130,7 @@ public function register() { * Register guzzle with authorization middleware added. */ protected function register_guzzle() { - $callback = function() { + $callback = function () { $handler_stack = HandlerStack::create(); $handler_stack->remove( 'http_errors' ); $handler_stack->push( $this->error_handler(), 'http_errors' ); @@ -153,7 +153,7 @@ protected function register_guzzle() { * Register ads client. */ protected function register_ads_client() { - $callback = function() { + $callback = function () { return new GoogleAdsClient( $this->get_connect_server_endpoint() ); }; @@ -188,8 +188,8 @@ protected function register_google_classes() { * @return callable */ protected function error_handler(): callable { - return function( callable $handler ) { - return function( RequestInterface $request, array $options ) use ( $handler ) { + return function ( callable $handler ) { + return function ( RequestInterface $request, array $options ) use ( $handler ) { return $handler( $request, $options )->then( function ( ResponseInterface $response ) use ( $request ) { $code = $response->getStatusCode(); @@ -245,8 +245,8 @@ protected function handle_unauthorized_error( RequestInterface $request, Respons * @return callable */ protected function add_auth_header(): callable { - return function( callable $handler ) { - return function( RequestInterface $request, array $options ) use ( $handler ) { + return function ( callable $handler ) { + return function ( RequestInterface $request, array $options ) use ( $handler ) { try { $request = $request->withHeader( 'Authorization', $this->generate_auth_header() ); @@ -272,10 +272,10 @@ protected function add_auth_header(): callable { * @return callable */ public function add_plugin_version_header(): callable { - return function( callable $handler ) { - return function( RequestInterface $request, array $options ) use ( $handler ) { + return function ( callable $handler ) { + return function ( RequestInterface $request, array $options ) use ( $handler ) { $request = $request->withHeader( 'x-client-name', $this->get_client_name() ) - ->withHeader( 'x-client-version', $this->get_version() ); + ->withHeader( 'x-client-version', $this->get_version() ); return $handler( $request, $options ); }; }; @@ -285,8 +285,8 @@ public function add_plugin_version_header(): callable { * @return callable */ protected function override_http_url(): callable { - return function( callable $handler ) { - return function( RequestInterface $request, array $options ) use ( $handler ) { + return function ( callable $handler ) { + return function ( RequestInterface $request, array $options ) use ( $handler ) { $request = $request->withUri( $request->getUri()->withScheme( 'http' ) ); return $handler( $request, $options ); }; diff --git a/src/Internal/DependencyManagement/JobServiceProvider.php b/src/Internal/DependencyManagement/JobServiceProvider.php index 0992d00891..2ad3cbe7ec 100644 --- a/src/Internal/DependencyManagement/JobServiceProvider.php +++ b/src/Internal/DependencyManagement/JobServiceProvider.php @@ -149,15 +149,15 @@ public function register(): void { /** * Share an ActionScheduler job class * - * @param string $class The class name to add. + * @param string $class_name The class name to add. * @param mixed ...$arguments Constructor arguments for the class. * * @throws InvalidClass When the given class does not implement the ActionSchedulerJobInterface. */ - protected function share_action_scheduler_job( string $class, ...$arguments ) { - $this->validate_interface( $class, ActionSchedulerJobInterface::class ); + protected function share_action_scheduler_job( string $class_name, ...$arguments ) { + $this->validate_interface( $class_name, ActionSchedulerJobInterface::class ); $this->share_with_tags( - $class, + $class_name, ActionScheduler::class, ActionSchedulerJobMonitor::class, ...$arguments @@ -167,16 +167,16 @@ protected function share_action_scheduler_job( string $class, ...$arguments ) { /** * Share a product syncer job class * - * @param string $class The class name to add. + * @param string $class_name The class name to add. * @param mixed ...$arguments Constructor arguments for the class. * * @throws InvalidClass When the given class does not implement the ProductSyncerJobInterface. */ - protected function share_product_syncer_job( string $class, ...$arguments ) { - $this->validate_interface( $class, ProductSyncerJobInterface::class ); - if ( is_subclass_of( $class, AbstractProductSyncerBatchedJob::class ) ) { + protected function share_product_syncer_job( string $class_name, ...$arguments ) { + $this->validate_interface( $class_name, ProductSyncerJobInterface::class ); + if ( is_subclass_of( $class_name, AbstractProductSyncerBatchedJob::class ) ) { $this->share_action_scheduler_job( - $class, + $class_name, ProductSyncer::class, ProductRepository::class, BatchProductHelper::class, @@ -185,7 +185,7 @@ protected function share_product_syncer_job( string $class, ...$arguments ) { ); } else { $this->share_action_scheduler_job( - $class, + $class_name, ProductSyncer::class, ProductRepository::class, MerchantCenterService::class, @@ -197,16 +197,16 @@ protected function share_product_syncer_job( string $class, ...$arguments ) { /** * Share a coupon syncer job class * - * @param string $class The class name to add. + * @param string $class_name The class name to add. * @param mixed ...$arguments Constructor arguments for the class. * * @throws InvalidClass When the given class does not implement the ProductSyncerJobInterface. */ - protected function share_coupon_syncer_job( string $class, ...$arguments ) { + protected function share_coupon_syncer_job( string $class_name, ...$arguments ) { // Coupon related jobs also should implement ProductSyncerJobInterface. - $this->validate_interface( $class, ProductSyncerJobInterface::class ); + $this->validate_interface( $class_name, ProductSyncerJobInterface::class ); $this->share_action_scheduler_job( - $class, + $class_name, CouponHelper::class, CouponSyncer::class, WC::class, diff --git a/src/Internal/DependencyManagement/ProxyServiceProvider.php b/src/Internal/DependencyManagement/ProxyServiceProvider.php index 44afc39adb..6797970eec 100644 --- a/src/Internal/DependencyManagement/ProxyServiceProvider.php +++ b/src/Internal/DependencyManagement/ProxyServiceProvider.php @@ -58,7 +58,7 @@ public function register() { wpdb::class, new Definition( wpdb::class, - function() { + function () { global $wpdb; return $wpdb; } diff --git a/src/Internal/DependencyManagement/RESTServiceProvider.php b/src/Internal/DependencyManagement/RESTServiceProvider.php index 6e750da117..57c0b1f01e 100644 --- a/src/Internal/DependencyManagement/RESTServiceProvider.php +++ b/src/Internal/DependencyManagement/RESTServiceProvider.php @@ -144,23 +144,23 @@ public function register() { * * Overridden to include the RESTServer proxy with all classes. * - * @param string $class The class name to add. + * @param string $class_name The class name to add. * @param mixed ...$arguments Constructor arguments for the class. * * @return DefinitionInterface */ - protected function share( string $class, ...$arguments ): DefinitionInterface { - return parent::share( $class, RESTServer::class, ...$arguments )->addTag( 'rest_controller' ); + protected function share( string $class_name, ...$arguments ): DefinitionInterface { + return parent::share( $class_name, RESTServer::class, ...$arguments )->addTag( 'rest_controller' ); } /** * Share a class with only the container object provided. * - * @param string $class The class name to add. + * @param string $class_name The class name to add. * * @return DefinitionInterface */ - protected function share_with_container( string $class ): DefinitionInterface { - return parent::share( $class, ContainerInterface::class )->addTag( 'rest_controller' ); + protected function share_with_container( string $class_name ): DefinitionInterface { + return parent::share( $class_name, ContainerInterface::class )->addTag( 'rest_controller' ); } } diff --git a/src/Internal/Requirements/GoogleProductFeedValidator.php b/src/Internal/Requirements/GoogleProductFeedValidator.php index 48fd77ff29..f10d4ede21 100644 --- a/src/Internal/Requirements/GoogleProductFeedValidator.php +++ b/src/Internal/Requirements/GoogleProductFeedValidator.php @@ -33,7 +33,7 @@ public function validate(): bool { add_filter( 'woocommerce_gla_custom_merchant_issues', - function( $issues, $current_time ) { + function ( $issues, $current_time ) { return $this->add_conflict_issue( $issues, $current_time ); }, 10, @@ -42,7 +42,7 @@ function( $issues, $current_time ) { add_action( 'deactivated_plugin', - function( $plugin ) { + function ( $plugin ) { if ( 'woocommerce-product-feeds/woocommerce-gpf.php' === $plugin ) { /** @var MerchantStatuses $merchant_statuses */ $merchant_statuses = woogle_get_container()->get( MerchantStatuses::class ); diff --git a/src/Internal/Requirements/PluginValidator.php b/src/Internal/Requirements/PluginValidator.php index 214ef2cd05..b841e74908 100644 --- a/src/Internal/Requirements/PluginValidator.php +++ b/src/Internal/Requirements/PluginValidator.php @@ -49,5 +49,4 @@ public static function validate(): bool { } return self::$is_validated; } - } diff --git a/src/Internal/Requirements/RequirementValidator.php b/src/Internal/Requirements/RequirementValidator.php index 9624dcecc8..1628fc0ff4 100644 --- a/src/Internal/Requirements/RequirementValidator.php +++ b/src/Internal/Requirements/RequirementValidator.php @@ -42,7 +42,7 @@ protected function add_admin_notice( RuntimeException $e ) { // Display notice error message. add_action( 'admin_notices', - function() use ( $e ) { + function () use ( $e ) { echo '
' . esc_html( $e->getMessage() ) . '
' . PHP_EOL; echo '