Official Facebook Pixel - Version 3.0.7

Version Description

Download this release

Release Info

Developer Facebook
Plugin Icon Official Facebook Pixel
Version 3.0.7
Comparing to
See all releases

Code changes from version 3.0.6 to 3.0.7

Files changed (200) hide show
  1. changelog.txt +5 -0
  2. composer.json +1 -1
  3. composer.lock +213 -132
  4. composer.phar +0 -0
  5. core/AAMFieldsExtractor.php +1 -1
  6. core/AAMSettingsFields.php +1 -1
  7. core/EventIdGenerator.php +1 -1
  8. core/FacebookPixel.php +45 -6
  9. core/FacebookPluginConfig.php +27 -5
  10. core/FacebookPluginUtils.php +9 -1
  11. core/FacebookServerSideEvent.php +8 -1
  12. core/FacebookWordpressOpenBridge.php +74 -0
  13. core/FacebookWordpressOptions.php +33 -2
  14. core/FacebookWordpressPixelInjection.php +16 -2
  15. core/FacebookWordpressSettingsPage.php +254 -4
  16. core/FacebookWordpressSettingsRecorder.php +76 -0
  17. core/PixelRenderer.php +1 -1
  18. core/ServerEventAsyncTask.php +1 -1
  19. core/ServerEventFactory.php +1 -1
  20. css/admin.css +38 -2
  21. facebook-for-wordpress.php +17 -1
  22. integration/EDDUtils.php +1 -1
  23. integration/FacebookWordpressCalderaForm.php +3 -3
  24. integration/FacebookWordpressContactForm7.php +3 -3
  25. integration/FacebookWordpressEasyDigitalDownloads.php +9 -9
  26. integration/FacebookWordpressFormidableForm.php +3 -3
  27. integration/FacebookWordpressGravityForms.php +5 -5
  28. integration/FacebookWordpressIntegrationBase.php +1 -1
  29. integration/FacebookWordpressMailchimpForWp.php +3 -3
  30. integration/FacebookWordpressNinjaForms.php +3 -3
  31. integration/FacebookWordpressWPECommerce.php +7 -7
  32. integration/FacebookWordpressWPForms.php +3 -3
  33. integration/FacebookWordpressWooCommerce.php +3 -3
  34. integration/IntegrationUtils.php +1 -1
  35. js/fbe_allinone.js +238 -229
  36. js/openbridge_plugin.js +1 -0
  37. languages/official-facebook-pixel-ar_AR.po +1 -1
  38. languages/official-facebook-pixel-cs_CZ.po +1 -1
  39. languages/official-facebook-pixel-da_DK.po +1 -1
  40. languages/official-facebook-pixel-de_DE.po +1 -1
  41. languages/official-facebook-pixel-en_GB.po +1 -1
  42. languages/official-facebook-pixel-es_ES.po +1 -1
  43. languages/official-facebook-pixel-es_LA.po +1 -1
  44. languages/official-facebook-pixel-fi_FI.po +1 -1
  45. languages/official-facebook-pixel-fr_CA.po +1 -1
  46. languages/official-facebook-pixel-fr_FR.po +1 -1
  47. languages/official-facebook-pixel-he_IL.po +1 -1
  48. languages/official-facebook-pixel-it_IT.po +1 -1
  49. languages/official-facebook-pixel-ja_JP.po +1 -1
  50. languages/official-facebook-pixel-ko_KR.po +1 -1
  51. languages/official-facebook-pixel-nb_NO.po +1 -1
  52. languages/official-facebook-pixel-nl_NL.po +1 -1
  53. languages/official-facebook-pixel-pl_PL.po +1 -1
  54. languages/official-facebook-pixel-pt_BR.po +1 -1
  55. languages/official-facebook-pixel-pt_PT.po +1 -1
  56. languages/official-facebook-pixel-ru_RU.po +1 -1
  57. languages/official-facebook-pixel-sv_SE.po +1 -1
  58. languages/official-facebook-pixel-th_TH.po +1 -1
  59. languages/official-facebook-pixel-tr_TR.po +1 -1
  60. languages/official-facebook-pixel-vi_VN.po +1 -1
  61. languages/official-facebook-pixel-zh_CN.po +1 -1
  62. languages/official-facebook-pixel-zh_TW.po +1 -1
  63. readme.txt +6 -1
  64. uninstall.php +1 -1
  65. vendor/autoload.php +1 -1
  66. vendor/composer/ClassLoader.php +4 -40
  67. vendor/composer/InstalledVersions.php +0 -337
  68. vendor/composer/LICENSE +0 -2
  69. vendor/composer/autoload_classmap.php +0 -1
  70. vendor/composer/autoload_real.php +6 -6
  71. vendor/composer/autoload_static.php +4 -5
  72. vendor/composer/installed.json +100 -107
  73. vendor/composer/installed.php +0 -49
  74. vendor/facebook/php-business-sdk/.github/workflows/ci.yml +1 -1
  75. vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostAdSetCreateCpa.php +2 -2
  76. vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostAdSetCreateCpaAppEvents.php +2 -2
  77. vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostCreateAdSet.php +2 -2
  78. vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostDailyBudget20.php +2 -2
  79. vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostLifetimeBudget200Duration10Days.php +2 -2
  80. vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostOfferClaim.php +2 -2
  81. vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostOptimizePostEngagement.php +2 -2
  82. vendor/facebook/php-business-sdk/examples/AdgroupLeadsEdgeAdgroupLeadsFiltered.php +1 -1
  83. vendor/facebook/php-business-sdk/examples/AdsPixelEventsPost.php +1 -1
  84. vendor/facebook/php-business-sdk/examples/aggregator_onboarding/api.php +1 -1
  85. vendor/facebook/php-business-sdk/src/FacebookAds/ApiConfig.php +2 -2
  86. vendor/facebook/php-business-sdk/src/FacebookAds/Object/{ProductFeedUploadDiagnosticsReport.php → AREffectsBatchStatus.php} +4 -4
  87. vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdAccount.php +76 -7
  88. vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdAsyncRequestSet.php +0 -2
  89. vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdPlacePageSet.php +0 -2
  90. vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdSet.php +1 -0
  91. vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdStudyObjective.php +1 -0
  92. vendor/facebook/php-business-sdk/src/FacebookAds/Object/{AdAccountContentFilterLevelsInheritance.php → AdStudyObjectiveOffsiteDatasets.php} +4 -4
  93. vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdVideo.php +24 -0
  94. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Application.php +24 -139
  95. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Business.php +151 -68
  96. vendor/facebook/php-business-sdk/src/FacebookAds/Object/BusinessManagedPartnerEligibility.php +57 -0
  97. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Canvas.php +24 -0
  98. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ChatPlugin.php +57 -0
  99. vendor/facebook/php-business-sdk/src/FacebookAds/Object/CloudGame.php +80 -0
  100. vendor/facebook/php-business-sdk/src/FacebookAds/Object/CommerceOrder.php +1 -0
  101. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Event.php +0 -1
  102. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{CPASParentCatalogSettingsFields.php → AREffectsBatchStatusFields.php} +7 -7
  103. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdAccountDeliveryEstimateFields.php +2 -0
  104. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdAccountFields.php +4 -2
  105. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdAssetFeedSpecFields.php +6 -0
  106. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdAsyncRequestSetFields.php +1 -1
  107. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdCampaignDeliveryEstimateFields.php +2 -0
  108. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdPlacePageSetFields.php +0 -2
  109. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdSetFields.php +4 -0
  110. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{ProductFeedUploadDiagnosticsReportFields.php → AdStudyObjectiveOffsiteDatasetsFields.php} +5 -5
  111. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdgroupPlacementSpecificReviewFeedbackFields.php +2 -0
  112. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdoptablePetFields.php +2 -0
  113. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdsInsightsFields.php +2 -12
  114. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/Agency.php +0 -29
  115. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AutomotiveModelFields.php +2 -0
  116. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/BusinessFields.php +4 -2
  117. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{AdAccountContentFilterLevelsInheritanceFields.php → BusinessManagedPartnerEligibilityFields.php} +7 -9
  118. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CanvasFields.php +28 -0
  119. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ChatPluginFields.php +69 -0
  120. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{MeasurementUploadEventFields.php → CloudGameFields.php} +17 -19
  121. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CommerceMerchantSettingsFields.php +0 -2
  122. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CustomAudienceFields.php +2 -0
  123. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/DestinationFields.php +2 -0
  124. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/EventFields.php +2 -0
  125. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/FlightFields.php +2 -0
  126. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/HomeListingFields.php +2 -0
  127. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/HotelFields.php +2 -0
  128. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/InvoiceCampaignFields.php +2 -0
  129. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{ReferralFields.php → JobsJobFields.php} +33 -25
  130. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/LiveVideoFields.php +1 -1
  131. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/LocalServiceBusinessFields.php +81 -0
  132. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ManagedPartnerBusinessFields.php +59 -0
  133. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/OmegaCustomerTrxFields.php +2 -0
  134. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PageUserMessageThreadLabelFields.php +2 -2
  135. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductItemFields.php +2 -0
  136. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductSetFields.php +2 -0
  137. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/SavedAudienceFields.php +2 -0
  138. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/TextWithEntitiesFields.php +47 -0
  139. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/VehicleFields.php +2 -0
  140. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/VehicleOfferFields.php +2 -0
  141. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/WoodhengePurchasedPAYGReceiptFields.php +53 -0
  142. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Group.php +32 -1
  143. vendor/facebook/php-business-sdk/src/FacebookAds/Object/{Referral.php → JobsJob.php} +42 -29
  144. vendor/facebook/php-business-sdk/src/FacebookAds/Object/LiveVideo.php +0 -1
  145. vendor/facebook/php-business-sdk/src/FacebookAds/Object/{CPASParentCatalogSettings.php → LocalServiceBusiness.php} +15 -17
  146. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ManagedPartnerBusiness.php +57 -0
  147. vendor/facebook/php-business-sdk/src/FacebookAds/Object/MeasurementUploadEvent.php +0 -134
  148. vendor/facebook/php-business-sdk/src/FacebookAds/Object/MessengerDestinationPageWelcomeMessage.php +0 -23
  149. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Page.php +114 -45
  150. vendor/facebook/php-business-sdk/src/FacebookAds/Object/PartnerStudy.php +23 -0
  151. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductCatalog.php +26 -24
  152. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductFeed.php +0 -23
  153. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductSet.php +1 -0
  154. vendor/facebook/php-business-sdk/src/FacebookAds/Object/TextWithEntities.php +57 -0
  155. vendor/facebook/php-business-sdk/src/FacebookAds/Object/User.php +0 -55
  156. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountAdVolumeRecommendationTypeValues.php +2 -0
  157. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountContentTypeValues.php +1 -0
  158. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountMatchedSearchApplicationsEdgeDataAppStoreValues.php +9 -0
  159. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountTargetingUnifiedAppStoreValues.php +9 -0
  160. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountTasksValues.php +1 -0
  161. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAssetFeedSpecCallToActionTypesValues.php +1 -0
  162. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCreativeApplinkTreatmentValues.php +1 -0
  163. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCreativeCallToActionTypeValues.php +1 -0
  164. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCreativeLinkDataCallToActionTypeValues.php +1 -0
  165. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCreativeLinkDataImageOverlaySpecTextTypeValues.php +1 -0
  166. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdPreviewAdFormatValues.php +3 -1
  167. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdRuleExecutionSpecExecutionTypeValues.php +3 -0
  168. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdStudyObjectiveTypeValues.php +1 -1
  169. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdStudyTypeValues.php +0 -1
  170. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdVideoContainerTypeValues.php +9 -0
  171. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdsInsightsBreakdownsValues.php +2 -0
  172. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdsPixelTasksValues.php +3 -0
  173. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ApplicationAnPlatformsValues.php +1 -0
  174. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessAssetGroupAdaccountTasksValues.php +1 -0
  175. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessAssetGroupOfflineConversionDataSetTasksValues.php +1 -0
  176. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessAssetGroupPageTasksValues.php +1 -0
  177. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessAssetGroupPixelTasksValues.php +3 -0
  178. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessPagePermittedTasksValues.php +1 -0
  179. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessPermittedTasksValues.php +1 -0
  180. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CPASParentCatalogSettingsAttributionWindowsValues.php +0 -48
  181. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ContentDeliveryReportPositionValues.php +8 -0
  182. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CustomAudienceContentTypeValues.php +1 -0
  183. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/GroupGroupTypeValues.php +1 -0
  184. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/GroupPurposeValues.php +1 -0
  185. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{AdAccountPermittedTasksValues.php → JobsJobImageFetchStatusValues.php} +8 -6
  186. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/LiveVideoLiveCommentModerationSettingValues.php +3 -0
  187. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{MeasurementUploadEventLookbackWindowValues.php → LocalServiceBusinessImageFetchStatusValues.php} +8 -6
  188. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/MeasurementUploadEventEventStatusValues.php +0 -46
  189. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/MeasurementUploadEventTimezoneValues.php +0 -186
  190. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{OracleTransactionTypeValues.php → PageAlignmentValues.php} +4 -4
  191. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{AdAsyncRequestSetNotificationStatusValues.php → PageEntryPointIconValues.php} +6 -5
  192. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{MeasurementUploadEventAggregationLevelValues.php → PageEntryPointLabelValues.php} +5 -4
  193. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageGreetingDialogDisplayValues.php +43 -0
  194. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{AdPlacePageSetCategoryValues.php → PageGuestChatModeValues.php} +4 -4
  195. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{MeasurementUploadEventMatchUniverseValues.php → PageMobileChatDisplayValues.php} +4 -5
  196. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PagePermittedTasksValues.php +1 -0
  197. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageSubscribedFieldsValues.php +1 -0
  198. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageTasksValues.php +1 -0
  199. vendor/facebook/php-business-sdk/src/FacebookAds/Object/WhatsAppBusinessAccount.php +97 -0
  200. vendor/facebook/php-business-sdk/src/FacebookAds/Object/WoodhengePurchasedPAYGReceipt.php +80 -0
changelog.txt CHANGED
@@ -1,4 +1,9 @@
1
  *** Facebook for WordPress Changelog ***
 
 
 
 
 
2
  2021-08-30 version 3.0.6
3
  * Update Facebook Business SDK to v11.0.0
4
 
1
  *** Facebook for WordPress Changelog ***
2
+ 2022-08-01 version
3
+ * Update Facebook Business SDK to v12.0.0
4
+ * Added the ability to send website events using conversion API and OpenBridge Javascript. This can be enabled/disabled from the settings page.
5
+ * Added ads metrics and insights on the settings page.
6
+
7
  2021-08-30 version 3.0.6
8
  * Update Facebook Business SDK to v11.0.0
9
 
composer.json CHANGED
@@ -9,7 +9,7 @@
9
  },
10
  "license": "GPL",
11
  "require": {
12
- "facebook/php-business-sdk": "11.0.0",
13
  "techcrunch/wp-async-task": "dev-master"
14
  },
15
  "autoload": {
9
  },
10
  "license": "GPL",
11
  "require": {
12
+ "facebook/php-business-sdk": "12.0.0",
13
  "techcrunch/wp-async-task": "dev-master"
14
  },
15
  "autoload": {
composer.lock CHANGED
@@ -4,20 +4,20 @@
4
  "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5
  "This file is @generated automatically"
6
  ],
7
- "content-hash": "d055df81b8e80ccd42b2231042595e1f",
8
  "packages": [
9
  {
10
  "name": "facebook/php-business-sdk",
11
- "version": "11.0.0",
12
  "source": {
13
  "type": "git",
14
  "url": "https://github.com/facebook/facebook-php-business-sdk.git",
15
- "reference": "bd11628ea43903a95a656b8a5ea2789e4613b859"
16
  },
17
  "dist": {
18
  "type": "zip",
19
- "url": "https://api.github.com/repos/facebook/facebook-php-business-sdk/zipball/bd11628ea43903a95a656b8a5ea2789e4613b859",
20
- "reference": "bd11628ea43903a95a656b8a5ea2789e4613b859",
21
  "shasum": ""
22
  },
23
  "require": {
@@ -46,9 +46,9 @@
46
  "sdk"
47
  ],
48
  "support": {
49
- "source": "https://github.com/facebook/facebook-php-business-sdk/tree/11.0.0"
50
  },
51
- "time": "2021-06-10T18:59:41+00:00"
52
  },
53
  {
54
  "name": "techcrunch/wp-async-task",
@@ -155,16 +155,16 @@
155
  },
156
  {
157
  "name": "antecedent/patchwork",
158
- "version": "2.1.15",
159
  "source": {
160
  "type": "git",
161
  "url": "https://github.com/antecedent/patchwork.git",
162
- "reference": "0430ceaac7f447f1778c199ec19d7e4362a6f961"
163
  },
164
  "dist": {
165
  "type": "zip",
166
- "url": "https://api.github.com/repos/antecedent/patchwork/zipball/0430ceaac7f447f1778c199ec19d7e4362a6f961",
167
- "reference": "0430ceaac7f447f1778c199ec19d7e4362a6f961",
168
  "shasum": ""
169
  },
170
  "require": {
@@ -197,35 +197,36 @@
197
  ],
198
  "support": {
199
  "issues": "https://github.com/antecedent/patchwork/issues",
200
- "source": "https://github.com/antecedent/patchwork/tree/2.1.15"
201
  },
202
- "time": "2021-08-22T08:00:13+00:00"
203
  },
204
  {
205
  "name": "doctrine/instantiator",
206
- "version": "1.4.0",
207
  "source": {
208
  "type": "git",
209
  "url": "https://github.com/doctrine/instantiator.git",
210
- "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b"
211
  },
212
  "dist": {
213
  "type": "zip",
214
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/d56bf6102915de5702778fe20f2de3b2fe570b5b",
215
- "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b",
216
  "shasum": ""
217
  },
218
  "require": {
219
  "php": "^7.1 || ^8.0"
220
  },
221
  "require-dev": {
222
- "doctrine/coding-standard": "^8.0",
223
  "ext-pdo": "*",
224
  "ext-phar": "*",
225
- "phpbench/phpbench": "^0.13 || 1.0.0-alpha2",
226
- "phpstan/phpstan": "^0.12",
227
- "phpstan/phpstan-phpunit": "^0.12",
228
- "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"
 
229
  },
230
  "type": "library",
231
  "autoload": {
@@ -252,7 +253,7 @@
252
  ],
253
  "support": {
254
  "issues": "https://github.com/doctrine/instantiator/issues",
255
- "source": "https://github.com/doctrine/instantiator/tree/1.4.0"
256
  },
257
  "funding": [
258
  {
@@ -268,7 +269,7 @@
268
  "type": "tidelift"
269
  }
270
  ],
271
- "time": "2020-11-10T18:47:58+00:00"
272
  },
273
  {
274
  "name": "hamcrest/hamcrest-php",
@@ -362,16 +363,16 @@
362
  },
363
  {
364
  "name": "mockery/mockery",
365
- "version": "1.3.4",
366
  "source": {
367
  "type": "git",
368
  "url": "https://github.com/mockery/mockery.git",
369
- "reference": "31467aeb3ca3188158613322d66df81cedd86626"
370
  },
371
  "dist": {
372
  "type": "zip",
373
- "url": "https://api.github.com/repos/mockery/mockery/zipball/31467aeb3ca3188158613322d66df81cedd86626",
374
- "reference": "31467aeb3ca3188158613322d66df81cedd86626",
375
  "shasum": ""
376
  },
377
  "require": {
@@ -425,43 +426,44 @@
425
  ],
426
  "support": {
427
  "issues": "https://github.com/mockery/mockery/issues",
428
- "source": "https://github.com/mockery/mockery/tree/1.3.4"
429
  },
430
- "time": "2021-02-24T09:51:00+00:00"
431
  },
432
  {
433
  "name": "myclabs/deep-copy",
434
- "version": "1.10.2",
435
  "source": {
436
  "type": "git",
437
  "url": "https://github.com/myclabs/DeepCopy.git",
438
- "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220"
439
  },
440
  "dist": {
441
  "type": "zip",
442
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/776f831124e9c62e1a2c601ecc52e776d8bb7220",
443
- "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220",
444
  "shasum": ""
445
  },
446
  "require": {
447
  "php": "^7.1 || ^8.0"
448
  },
449
- "replace": {
450
- "myclabs/deep-copy": "self.version"
 
451
  },
452
  "require-dev": {
453
- "doctrine/collections": "^1.0",
454
- "doctrine/common": "^2.6",
455
- "phpunit/phpunit": "^7.1"
456
  },
457
  "type": "library",
458
  "autoload": {
459
- "psr-4": {
460
- "DeepCopy\\": "src/DeepCopy/"
461
- },
462
  "files": [
463
  "src/DeepCopy/deep_copy.php"
464
- ]
 
 
 
465
  },
466
  "notification-url": "https://packagist.org/downloads/",
467
  "license": [
@@ -477,7 +479,7 @@
477
  ],
478
  "support": {
479
  "issues": "https://github.com/myclabs/DeepCopy/issues",
480
- "source": "https://github.com/myclabs/DeepCopy/tree/1.10.2"
481
  },
482
  "funding": [
483
  {
@@ -485,7 +487,7 @@
485
  "type": "tidelift"
486
  }
487
  ],
488
- "time": "2020-11-13T09:40:50+00:00"
489
  },
490
  {
491
  "name": "phar-io/manifest",
@@ -756,16 +758,16 @@
756
  },
757
  {
758
  "name": "phpdocumentor/reflection-docblock",
759
- "version": "5.2.2",
760
  "source": {
761
  "type": "git",
762
  "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
763
- "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556"
764
  },
765
  "dist": {
766
  "type": "zip",
767
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/069a785b2141f5bcf49f3e353548dc1cce6df556",
768
- "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556",
769
  "shasum": ""
770
  },
771
  "require": {
@@ -776,7 +778,8 @@
776
  "webmozart/assert": "^1.9.1"
777
  },
778
  "require-dev": {
779
- "mockery/mockery": "~1.3.2"
 
780
  },
781
  "type": "library",
782
  "extra": {
@@ -806,22 +809,22 @@
806
  "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
807
  "support": {
808
  "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues",
809
- "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/master"
810
  },
811
- "time": "2020-09-03T19:13:55+00:00"
812
  },
813
  {
814
  "name": "phpdocumentor/type-resolver",
815
- "version": "1.4.0",
816
  "source": {
817
  "type": "git",
818
  "url": "https://github.com/phpDocumentor/TypeResolver.git",
819
- "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0"
820
  },
821
  "dist": {
822
  "type": "zip",
823
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0",
824
- "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0",
825
  "shasum": ""
826
  },
827
  "require": {
@@ -829,7 +832,8 @@
829
  "phpdocumentor/reflection-common": "^2.0"
830
  },
831
  "require-dev": {
832
- "ext-tokenizer": "*"
 
833
  },
834
  "type": "library",
835
  "extra": {
@@ -855,9 +859,9 @@
855
  "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
856
  "support": {
857
  "issues": "https://github.com/phpDocumentor/TypeResolver/issues",
858
- "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.4.0"
859
  },
860
- "time": "2020-09-17T18:55:26+00:00"
861
  },
862
  {
863
  "name": "phpspec/prophecy",
@@ -1351,20 +1355,20 @@
1351
  },
1352
  {
1353
  "name": "psr/container",
1354
- "version": "1.1.1",
1355
  "source": {
1356
  "type": "git",
1357
  "url": "https://github.com/php-fig/container.git",
1358
- "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf"
1359
  },
1360
  "dist": {
1361
  "type": "zip",
1362
- "url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf",
1363
- "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf",
1364
  "shasum": ""
1365
  },
1366
  "require": {
1367
- "php": ">=7.2.0"
1368
  },
1369
  "type": "library",
1370
  "autoload": {
@@ -1393,9 +1397,9 @@
1393
  ],
1394
  "support": {
1395
  "issues": "https://github.com/php-fig/container/issues",
1396
- "source": "https://github.com/php-fig/container/tree/1.1.1"
1397
  },
1398
- "time": "2021-03-05T17:36:06+00:00"
1399
  },
1400
  {
1401
  "name": "sebastian/code-unit-reverse-lookup",
@@ -1632,16 +1636,16 @@
1632
  },
1633
  {
1634
  "name": "sebastian/exporter",
1635
- "version": "3.1.3",
1636
  "source": {
1637
  "type": "git",
1638
  "url": "https://github.com/sebastianbergmann/exporter.git",
1639
- "reference": "6b853149eab67d4da22291d36f5b0631c0fd856e"
1640
  },
1641
  "dist": {
1642
  "type": "zip",
1643
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/6b853149eab67d4da22291d36f5b0631c0fd856e",
1644
- "reference": "6b853149eab67d4da22291d36f5b0631c0fd856e",
1645
  "shasum": ""
1646
  },
1647
  "require": {
@@ -1650,7 +1654,7 @@
1650
  },
1651
  "require-dev": {
1652
  "ext-mbstring": "*",
1653
- "phpunit/phpunit": "^6.0"
1654
  },
1655
  "type": "library",
1656
  "extra": {
@@ -1697,7 +1701,7 @@
1697
  ],
1698
  "support": {
1699
  "issues": "https://github.com/sebastianbergmann/exporter/issues",
1700
- "source": "https://github.com/sebastianbergmann/exporter/tree/3.1.3"
1701
  },
1702
  "funding": [
1703
  {
@@ -1705,7 +1709,7 @@
1705
  "type": "github"
1706
  }
1707
  ],
1708
- "time": "2020-11-30T07:47:53+00:00"
1709
  },
1710
  {
1711
  "name": "sebastian/global-state",
@@ -2032,16 +2036,16 @@
2032
  },
2033
  {
2034
  "name": "symfony/console",
2035
- "version": "v4.4.30",
2036
  "source": {
2037
  "type": "git",
2038
  "url": "https://github.com/symfony/console.git",
2039
- "reference": "a3f7189a0665ee33b50e9e228c46f50f5acbed22"
2040
  },
2041
  "dist": {
2042
  "type": "zip",
2043
- "url": "https://api.github.com/repos/symfony/console/zipball/a3f7189a0665ee33b50e9e228c46f50f5acbed22",
2044
- "reference": "a3f7189a0665ee33b50e9e228c46f50f5acbed22",
2045
  "shasum": ""
2046
  },
2047
  "require": {
@@ -2102,7 +2106,74 @@
2102
  "description": "Eases the creation of beautiful and testable command line interfaces",
2103
  "homepage": "https://symfony.com",
2104
  "support": {
2105
- "source": "https://github.com/symfony/console/tree/v4.4.30"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2106
  },
2107
  "funding": [
2108
  {
@@ -2118,25 +2189,28 @@
2118
  "type": "tidelift"
2119
  }
2120
  ],
2121
- "time": "2021-08-25T19:27:26+00:00"
2122
  },
2123
  {
2124
  "name": "symfony/polyfill-ctype",
2125
- "version": "v1.23.0",
2126
  "source": {
2127
  "type": "git",
2128
  "url": "https://github.com/symfony/polyfill-ctype.git",
2129
- "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce"
2130
  },
2131
  "dist": {
2132
  "type": "zip",
2133
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/46cd95797e9df938fdd2b03693b5fca5e64b01ce",
2134
- "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce",
2135
  "shasum": ""
2136
  },
2137
  "require": {
2138
  "php": ">=7.1"
2139
  },
 
 
 
2140
  "suggest": {
2141
  "ext-ctype": "For best performance"
2142
  },
@@ -2151,12 +2225,12 @@
2151
  }
2152
  },
2153
  "autoload": {
2154
- "psr-4": {
2155
- "Symfony\\Polyfill\\Ctype\\": ""
2156
- },
2157
  "files": [
2158
  "bootstrap.php"
2159
- ]
 
 
 
2160
  },
2161
  "notification-url": "https://packagist.org/downloads/",
2162
  "license": [
@@ -2181,7 +2255,7 @@
2181
  "portable"
2182
  ],
2183
  "support": {
2184
- "source": "https://github.com/symfony/polyfill-ctype/tree/v1.23.0"
2185
  },
2186
  "funding": [
2187
  {
@@ -2197,25 +2271,28 @@
2197
  "type": "tidelift"
2198
  }
2199
  ],
2200
- "time": "2021-02-19T12:13:01+00:00"
2201
  },
2202
  {
2203
  "name": "symfony/polyfill-mbstring",
2204
- "version": "v1.23.1",
2205
  "source": {
2206
  "type": "git",
2207
  "url": "https://github.com/symfony/polyfill-mbstring.git",
2208
- "reference": "9174a3d80210dca8daa7f31fec659150bbeabfc6"
2209
  },
2210
  "dist": {
2211
  "type": "zip",
2212
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9174a3d80210dca8daa7f31fec659150bbeabfc6",
2213
- "reference": "9174a3d80210dca8daa7f31fec659150bbeabfc6",
2214
  "shasum": ""
2215
  },
2216
  "require": {
2217
  "php": ">=7.1"
2218
  },
 
 
 
2219
  "suggest": {
2220
  "ext-mbstring": "For best performance"
2221
  },
@@ -2230,12 +2307,12 @@
2230
  }
2231
  },
2232
  "autoload": {
2233
- "psr-4": {
2234
- "Symfony\\Polyfill\\Mbstring\\": ""
2235
- },
2236
  "files": [
2237
  "bootstrap.php"
2238
- ]
 
 
 
2239
  },
2240
  "notification-url": "https://packagist.org/downloads/",
2241
  "license": [
@@ -2261,7 +2338,7 @@
2261
  "shim"
2262
  ],
2263
  "support": {
2264
- "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.23.1"
2265
  },
2266
  "funding": [
2267
  {
@@ -2277,20 +2354,20 @@
2277
  "type": "tidelift"
2278
  }
2279
  ],
2280
- "time": "2021-05-27T12:26:48+00:00"
2281
  },
2282
  {
2283
  "name": "symfony/polyfill-php73",
2284
- "version": "v1.23.0",
2285
  "source": {
2286
  "type": "git",
2287
  "url": "https://github.com/symfony/polyfill-php73.git",
2288
- "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010"
2289
  },
2290
  "dist": {
2291
  "type": "zip",
2292
- "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fba8933c384d6476ab14fb7b8526e5287ca7e010",
2293
- "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010",
2294
  "shasum": ""
2295
  },
2296
  "require": {
@@ -2307,12 +2384,12 @@
2307
  }
2308
  },
2309
  "autoload": {
2310
- "psr-4": {
2311
- "Symfony\\Polyfill\\Php73\\": ""
2312
- },
2313
  "files": [
2314
  "bootstrap.php"
2315
  ],
 
 
 
2316
  "classmap": [
2317
  "Resources/stubs"
2318
  ]
@@ -2340,7 +2417,7 @@
2340
  "shim"
2341
  ],
2342
  "support": {
2343
- "source": "https://github.com/symfony/polyfill-php73/tree/v1.23.0"
2344
  },
2345
  "funding": [
2346
  {
@@ -2356,20 +2433,20 @@
2356
  "type": "tidelift"
2357
  }
2358
  ],
2359
- "time": "2021-02-19T12:13:01+00:00"
2360
  },
2361
  {
2362
  "name": "symfony/polyfill-php80",
2363
- "version": "v1.23.1",
2364
  "source": {
2365
  "type": "git",
2366
  "url": "https://github.com/symfony/polyfill-php80.git",
2367
- "reference": "1100343ed1a92e3a38f9ae122fc0eb21602547be"
2368
  },
2369
  "dist": {
2370
  "type": "zip",
2371
- "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/1100343ed1a92e3a38f9ae122fc0eb21602547be",
2372
- "reference": "1100343ed1a92e3a38f9ae122fc0eb21602547be",
2373
  "shasum": ""
2374
  },
2375
  "require": {
@@ -2386,12 +2463,12 @@
2386
  }
2387
  },
2388
  "autoload": {
2389
- "psr-4": {
2390
- "Symfony\\Polyfill\\Php80\\": ""
2391
- },
2392
  "files": [
2393
  "bootstrap.php"
2394
  ],
 
 
 
2395
  "classmap": [
2396
  "Resources/stubs"
2397
  ]
@@ -2423,7 +2500,7 @@
2423
  "shim"
2424
  ],
2425
  "support": {
2426
- "source": "https://github.com/symfony/polyfill-php80/tree/v1.23.1"
2427
  },
2428
  "funding": [
2429
  {
@@ -2439,25 +2516,29 @@
2439
  "type": "tidelift"
2440
  }
2441
  ],
2442
- "time": "2021-07-28T13:41:28+00:00"
2443
  },
2444
  {
2445
  "name": "symfony/service-contracts",
2446
- "version": "v2.4.0",
2447
  "source": {
2448
  "type": "git",
2449
  "url": "https://github.com/symfony/service-contracts.git",
2450
- "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb"
2451
  },
2452
  "dist": {
2453
  "type": "zip",
2454
- "url": "https://api.github.com/repos/symfony/service-contracts/zipball/f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb",
2455
- "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb",
2456
  "shasum": ""
2457
  },
2458
  "require": {
2459
  "php": ">=7.2.5",
2460
- "psr/container": "^1.1"
 
 
 
 
2461
  },
2462
  "suggest": {
2463
  "symfony/service-implementation": ""
@@ -2465,7 +2546,7 @@
2465
  "type": "library",
2466
  "extra": {
2467
  "branch-alias": {
2468
- "dev-main": "2.4-dev"
2469
  },
2470
  "thanks": {
2471
  "name": "symfony/contracts",
@@ -2502,7 +2583,7 @@
2502
  "standards"
2503
  ],
2504
  "support": {
2505
- "source": "https://github.com/symfony/service-contracts/tree/v2.4.0"
2506
  },
2507
  "funding": [
2508
  {
@@ -2518,20 +2599,20 @@
2518
  "type": "tidelift"
2519
  }
2520
  ],
2521
- "time": "2021-04-01T10:43:52+00:00"
2522
  },
2523
  {
2524
  "name": "symfony/yaml",
2525
- "version": "v4.4.29",
2526
  "source": {
2527
  "type": "git",
2528
  "url": "https://github.com/symfony/yaml.git",
2529
- "reference": "3abcc4db06d4e776825eaa3ed8ad924d5bc7432a"
2530
  },
2531
  "dist": {
2532
  "type": "zip",
2533
- "url": "https://api.github.com/repos/symfony/yaml/zipball/3abcc4db06d4e776825eaa3ed8ad924d5bc7432a",
2534
- "reference": "3abcc4db06d4e776825eaa3ed8ad924d5bc7432a",
2535
  "shasum": ""
2536
  },
2537
  "require": {
@@ -2573,7 +2654,7 @@
2573
  "description": "Loads and dumps YAML files",
2574
  "homepage": "https://symfony.com",
2575
  "support": {
2576
- "source": "https://github.com/symfony/yaml/tree/v4.4.29"
2577
  },
2578
  "funding": [
2579
  {
@@ -2589,7 +2670,7 @@
2589
  "type": "tidelift"
2590
  }
2591
  ],
2592
- "time": "2021-07-27T16:19:30+00:00"
2593
  },
2594
  {
2595
  "name": "theseer/tokenizer",
@@ -2710,5 +2791,5 @@
2710
  "prefer-lowest": false,
2711
  "platform": [],
2712
  "platform-dev": [],
2713
- "plugin-api-version": "2.1.0"
2714
  }
4
  "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5
  "This file is @generated automatically"
6
  ],
7
+ "content-hash": "2311d225da95a26d7c4521202e4506e3",
8
  "packages": [
9
  {
10
  "name": "facebook/php-business-sdk",
11
+ "version": "12.0.0",
12
  "source": {
13
  "type": "git",
14
  "url": "https://github.com/facebook/facebook-php-business-sdk.git",
15
+ "reference": "90e31e621759d1318d8c90a4f20bc2e009cddabf"
16
  },
17
  "dist": {
18
  "type": "zip",
19
+ "url": "https://api.github.com/repos/facebook/facebook-php-business-sdk/zipball/90e31e621759d1318d8c90a4f20bc2e009cddabf",
20
+ "reference": "90e31e621759d1318d8c90a4f20bc2e009cddabf",
21
  "shasum": ""
22
  },
23
  "require": {
46
  "sdk"
47
  ],
48
  "support": {
49
+ "source": "https://github.com/facebook/facebook-php-business-sdk/tree/12.0.0"
50
  },
51
+ "time": "2021-09-16T02:40:35+00:00"
52
  },
53
  {
54
  "name": "techcrunch/wp-async-task",
155
  },
156
  {
157
  "name": "antecedent/patchwork",
158
+ "version": "2.1.21",
159
  "source": {
160
  "type": "git",
161
  "url": "https://github.com/antecedent/patchwork.git",
162
+ "reference": "25c1fa0cd9a6e6d0d13863d8df8f050b6733f16d"
163
  },
164
  "dist": {
165
  "type": "zip",
166
+ "url": "https://api.github.com/repos/antecedent/patchwork/zipball/25c1fa0cd9a6e6d0d13863d8df8f050b6733f16d",
167
+ "reference": "25c1fa0cd9a6e6d0d13863d8df8f050b6733f16d",
168
  "shasum": ""
169
  },
170
  "require": {
197
  ],
198
  "support": {
199
  "issues": "https://github.com/antecedent/patchwork/issues",
200
+ "source": "https://github.com/antecedent/patchwork/tree/2.1.21"
201
  },
202
+ "time": "2022-02-07T07:28:34+00:00"
203
  },
204
  {
205
  "name": "doctrine/instantiator",
206
+ "version": "1.4.1",
207
  "source": {
208
  "type": "git",
209
  "url": "https://github.com/doctrine/instantiator.git",
210
+ "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc"
211
  },
212
  "dist": {
213
  "type": "zip",
214
+ "url": "https://api.github.com/repos/doctrine/instantiator/zipball/10dcfce151b967d20fde1b34ae6640712c3891bc",
215
+ "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc",
216
  "shasum": ""
217
  },
218
  "require": {
219
  "php": "^7.1 || ^8.0"
220
  },
221
  "require-dev": {
222
+ "doctrine/coding-standard": "^9",
223
  "ext-pdo": "*",
224
  "ext-phar": "*",
225
+ "phpbench/phpbench": "^0.16 || ^1",
226
+ "phpstan/phpstan": "^1.4",
227
+ "phpstan/phpstan-phpunit": "^1",
228
+ "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
229
+ "vimeo/psalm": "^4.22"
230
  },
231
  "type": "library",
232
  "autoload": {
253
  ],
254
  "support": {
255
  "issues": "https://github.com/doctrine/instantiator/issues",
256
+ "source": "https://github.com/doctrine/instantiator/tree/1.4.1"
257
  },
258
  "funding": [
259
  {
269
  "type": "tidelift"
270
  }
271
  ],
272
+ "time": "2022-03-03T08:28:38+00:00"
273
  },
274
  {
275
  "name": "hamcrest/hamcrest-php",
363
  },
364
  {
365
  "name": "mockery/mockery",
366
+ "version": "1.3.5",
367
  "source": {
368
  "type": "git",
369
  "url": "https://github.com/mockery/mockery.git",
370
+ "reference": "472fa8ca4e55483d55ee1e73c963718c4393791d"
371
  },
372
  "dist": {
373
  "type": "zip",
374
+ "url": "https://api.github.com/repos/mockery/mockery/zipball/472fa8ca4e55483d55ee1e73c963718c4393791d",
375
+ "reference": "472fa8ca4e55483d55ee1e73c963718c4393791d",
376
  "shasum": ""
377
  },
378
  "require": {
426
  ],
427
  "support": {
428
  "issues": "https://github.com/mockery/mockery/issues",
429
+ "source": "https://github.com/mockery/mockery/tree/1.3.5"
430
  },
431
+ "time": "2021-09-13T15:33:03+00:00"
432
  },
433
  {
434
  "name": "myclabs/deep-copy",
435
+ "version": "1.10.3",
436
  "source": {
437
  "type": "git",
438
  "url": "https://github.com/myclabs/DeepCopy.git",
439
+ "reference": "c6a951b75d684fd43fbbd69617488e1e2e8924ba"
440
  },
441
  "dist": {
442
  "type": "zip",
443
+ "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/c6a951b75d684fd43fbbd69617488e1e2e8924ba",
444
+ "reference": "c6a951b75d684fd43fbbd69617488e1e2e8924ba",
445
  "shasum": ""
446
  },
447
  "require": {
448
  "php": "^7.1 || ^8.0"
449
  },
450
+ "conflict": {
451
+ "doctrine/collections": "<1.6.8",
452
+ "doctrine/common": "<2.13.3 || >=3,<3.2.2"
453
  },
454
  "require-dev": {
455
+ "doctrine/collections": "^1.6.8",
456
+ "doctrine/common": "^2.13.3 || ^3.2.2",
457
+ "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13"
458
  },
459
  "type": "library",
460
  "autoload": {
 
 
 
461
  "files": [
462
  "src/DeepCopy/deep_copy.php"
463
+ ],
464
+ "psr-4": {
465
+ "DeepCopy\\": "src/DeepCopy/"
466
+ }
467
  },
468
  "notification-url": "https://packagist.org/downloads/",
469
  "license": [
479
  ],
480
  "support": {
481
  "issues": "https://github.com/myclabs/DeepCopy/issues",
482
+ "source": "https://github.com/myclabs/DeepCopy/tree/1.10.3"
483
  },
484
  "funding": [
485
  {
487
  "type": "tidelift"
488
  }
489
  ],
490
+ "time": "2022-03-02T14:16:47+00:00"
491
  },
492
  {
493
  "name": "phar-io/manifest",
758
  },
759
  {
760
  "name": "phpdocumentor/reflection-docblock",
761
+ "version": "5.3.0",
762
  "source": {
763
  "type": "git",
764
  "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
765
+ "reference": "622548b623e81ca6d78b721c5e029f4ce664f170"
766
  },
767
  "dist": {
768
  "type": "zip",
769
+ "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170",
770
+ "reference": "622548b623e81ca6d78b721c5e029f4ce664f170",
771
  "shasum": ""
772
  },
773
  "require": {
778
  "webmozart/assert": "^1.9.1"
779
  },
780
  "require-dev": {
781
+ "mockery/mockery": "~1.3.2",
782
+ "psalm/phar": "^4.8"
783
  },
784
  "type": "library",
785
  "extra": {
809
  "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
810
  "support": {
811
  "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues",
812
+ "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0"
813
  },
814
+ "time": "2021-10-19T17:43:47+00:00"
815
  },
816
  {
817
  "name": "phpdocumentor/type-resolver",
818
+ "version": "1.6.0",
819
  "source": {
820
  "type": "git",
821
  "url": "https://github.com/phpDocumentor/TypeResolver.git",
822
+ "reference": "93ebd0014cab80c4ea9f5e297ea48672f1b87706"
823
  },
824
  "dist": {
825
  "type": "zip",
826
+ "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/93ebd0014cab80c4ea9f5e297ea48672f1b87706",
827
+ "reference": "93ebd0014cab80c4ea9f5e297ea48672f1b87706",
828
  "shasum": ""
829
  },
830
  "require": {
832
  "phpdocumentor/reflection-common": "^2.0"
833
  },
834
  "require-dev": {
835
+ "ext-tokenizer": "*",
836
+ "psalm/phar": "^4.8"
837
  },
838
  "type": "library",
839
  "extra": {
859
  "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
860
  "support": {
861
  "issues": "https://github.com/phpDocumentor/TypeResolver/issues",
862
+ "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.6.0"
863
  },
864
+ "time": "2022-01-04T19:58:01+00:00"
865
  },
866
  {
867
  "name": "phpspec/prophecy",
1355
  },
1356
  {
1357
  "name": "psr/container",
1358
+ "version": "1.1.2",
1359
  "source": {
1360
  "type": "git",
1361
  "url": "https://github.com/php-fig/container.git",
1362
+ "reference": "513e0666f7216c7459170d56df27dfcefe1689ea"
1363
  },
1364
  "dist": {
1365
  "type": "zip",
1366
+ "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea",
1367
+ "reference": "513e0666f7216c7459170d56df27dfcefe1689ea",
1368
  "shasum": ""
1369
  },
1370
  "require": {
1371
+ "php": ">=7.4.0"
1372
  },
1373
  "type": "library",
1374
  "autoload": {
1397
  ],
1398
  "support": {
1399
  "issues": "https://github.com/php-fig/container/issues",
1400
+ "source": "https://github.com/php-fig/container/tree/1.1.2"
1401
  },
1402
+ "time": "2021-11-05T16:50:12+00:00"
1403
  },
1404
  {
1405
  "name": "sebastian/code-unit-reverse-lookup",
1636
  },
1637
  {
1638
  "name": "sebastian/exporter",
1639
+ "version": "3.1.4",
1640
  "source": {
1641
  "type": "git",
1642
  "url": "https://github.com/sebastianbergmann/exporter.git",
1643
+ "reference": "0c32ea2e40dbf59de29f3b49bf375176ce7dd8db"
1644
  },
1645
  "dist": {
1646
  "type": "zip",
1647
+ "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/0c32ea2e40dbf59de29f3b49bf375176ce7dd8db",
1648
+ "reference": "0c32ea2e40dbf59de29f3b49bf375176ce7dd8db",
1649
  "shasum": ""
1650
  },
1651
  "require": {
1654
  },
1655
  "require-dev": {
1656
  "ext-mbstring": "*",
1657
+ "phpunit/phpunit": "^8.5"
1658
  },
1659
  "type": "library",
1660
  "extra": {
1701
  ],
1702
  "support": {
1703
  "issues": "https://github.com/sebastianbergmann/exporter/issues",
1704
+ "source": "https://github.com/sebastianbergmann/exporter/tree/3.1.4"
1705
  },
1706
  "funding": [
1707
  {
1709
  "type": "github"
1710
  }
1711
  ],
1712
+ "time": "2021-11-11T13:51:24+00:00"
1713
  },
1714
  {
1715
  "name": "sebastian/global-state",
2036
  },
2037
  {
2038
  "name": "symfony/console",
2039
+ "version": "v4.4.38",
2040
  "source": {
2041
  "type": "git",
2042
  "url": "https://github.com/symfony/console.git",
2043
+ "reference": "5a50085bf5460f0c0d60a50b58388c1249826b8a"
2044
  },
2045
  "dist": {
2046
  "type": "zip",
2047
+ "url": "https://api.github.com/repos/symfony/console/zipball/5a50085bf5460f0c0d60a50b58388c1249826b8a",
2048
+ "reference": "5a50085bf5460f0c0d60a50b58388c1249826b8a",
2049
  "shasum": ""
2050
  },
2051
  "require": {
2106
  "description": "Eases the creation of beautiful and testable command line interfaces",
2107
  "homepage": "https://symfony.com",
2108
  "support": {
2109
+ "source": "https://github.com/symfony/console/tree/v4.4.38"
2110
+ },
2111
+ "funding": [
2112
+ {
2113
+ "url": "https://symfony.com/sponsor",
2114
+ "type": "custom"
2115
+ },
2116
+ {
2117
+ "url": "https://github.com/fabpot",
2118
+ "type": "github"
2119
+ },
2120
+ {
2121
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
2122
+ "type": "tidelift"
2123
+ }
2124
+ ],
2125
+ "time": "2022-01-30T21:23:57+00:00"
2126
+ },
2127
+ {
2128
+ "name": "symfony/deprecation-contracts",
2129
+ "version": "v2.5.0",
2130
+ "source": {
2131
+ "type": "git",
2132
+ "url": "https://github.com/symfony/deprecation-contracts.git",
2133
+ "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8"
2134
+ },
2135
+ "dist": {
2136
+ "type": "zip",
2137
+ "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/6f981ee24cf69ee7ce9736146d1c57c2780598a8",
2138
+ "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8",
2139
+ "shasum": ""
2140
+ },
2141
+ "require": {
2142
+ "php": ">=7.1"
2143
+ },
2144
+ "type": "library",
2145
+ "extra": {
2146
+ "branch-alias": {
2147
+ "dev-main": "2.5-dev"
2148
+ },
2149
+ "thanks": {
2150
+ "name": "symfony/contracts",
2151
+ "url": "https://github.com/symfony/contracts"
2152
+ }
2153
+ },
2154
+ "autoload": {
2155
+ "files": [
2156
+ "function.php"
2157
+ ]
2158
+ },
2159
+ "notification-url": "https://packagist.org/downloads/",
2160
+ "license": [
2161
+ "MIT"
2162
+ ],
2163
+ "authors": [
2164
+ {
2165
+ "name": "Nicolas Grekas",
2166
+ "email": "p@tchwork.com"
2167
+ },
2168
+ {
2169
+ "name": "Symfony Community",
2170
+ "homepage": "https://symfony.com/contributors"
2171
+ }
2172
+ ],
2173
+ "description": "A generic function and convention to trigger deprecation notices",
2174
+ "homepage": "https://symfony.com",
2175
+ "support": {
2176
+ "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.0"
2177
  },
2178
  "funding": [
2179
  {
2189
  "type": "tidelift"
2190
  }
2191
  ],
2192
+ "time": "2021-07-12T14:48:14+00:00"
2193
  },
2194
  {
2195
  "name": "symfony/polyfill-ctype",
2196
+ "version": "v1.24.0",
2197
  "source": {
2198
  "type": "git",
2199
  "url": "https://github.com/symfony/polyfill-ctype.git",
2200
+ "reference": "30885182c981ab175d4d034db0f6f469898070ab"
2201
  },
2202
  "dist": {
2203
  "type": "zip",
2204
+ "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/30885182c981ab175d4d034db0f6f469898070ab",
2205
+ "reference": "30885182c981ab175d4d034db0f6f469898070ab",
2206
  "shasum": ""
2207
  },
2208
  "require": {
2209
  "php": ">=7.1"
2210
  },
2211
+ "provide": {
2212
+ "ext-ctype": "*"
2213
+ },
2214
  "suggest": {
2215
  "ext-ctype": "For best performance"
2216
  },
2225
  }
2226
  },
2227
  "autoload": {
 
 
 
2228
  "files": [
2229
  "bootstrap.php"
2230
+ ],
2231
+ "psr-4": {
2232
+ "Symfony\\Polyfill\\Ctype\\": ""
2233
+ }
2234
  },
2235
  "notification-url": "https://packagist.org/downloads/",
2236
  "license": [
2255
  "portable"
2256
  ],
2257
  "support": {
2258
+ "source": "https://github.com/symfony/polyfill-ctype/tree/v1.24.0"
2259
  },
2260
  "funding": [
2261
  {
2271
  "type": "tidelift"
2272
  }
2273
  ],
2274
+ "time": "2021-10-20T20:35:02+00:00"
2275
  },
2276
  {
2277
  "name": "symfony/polyfill-mbstring",
2278
+ "version": "v1.24.0",
2279
  "source": {
2280
  "type": "git",
2281
  "url": "https://github.com/symfony/polyfill-mbstring.git",
2282
+ "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825"
2283
  },
2284
  "dist": {
2285
  "type": "zip",
2286
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/0abb51d2f102e00a4eefcf46ba7fec406d245825",
2287
+ "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825",
2288
  "shasum": ""
2289
  },
2290
  "require": {
2291
  "php": ">=7.1"
2292
  },
2293
+ "provide": {
2294
+ "ext-mbstring": "*"
2295
+ },
2296
  "suggest": {
2297
  "ext-mbstring": "For best performance"
2298
  },
2307
  }
2308
  },
2309
  "autoload": {
 
 
 
2310
  "files": [
2311
  "bootstrap.php"
2312
+ ],
2313
+ "psr-4": {
2314
+ "Symfony\\Polyfill\\Mbstring\\": ""
2315
+ }
2316
  },
2317
  "notification-url": "https://packagist.org/downloads/",
2318
  "license": [
2338
  "shim"
2339
  ],
2340
  "support": {
2341
+ "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.24.0"
2342
  },
2343
  "funding": [
2344
  {
2354
  "type": "tidelift"
2355
  }
2356
  ],
2357
+ "time": "2021-11-30T18:21:41+00:00"
2358
  },
2359
  {
2360
  "name": "symfony/polyfill-php73",
2361
+ "version": "v1.24.0",
2362
  "source": {
2363
  "type": "git",
2364
  "url": "https://github.com/symfony/polyfill-php73.git",
2365
+ "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5"
2366
  },
2367
  "dist": {
2368
  "type": "zip",
2369
+ "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/cc5db0e22b3cb4111010e48785a97f670b350ca5",
2370
+ "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5",
2371
  "shasum": ""
2372
  },
2373
  "require": {
2384
  }
2385
  },
2386
  "autoload": {
 
 
 
2387
  "files": [
2388
  "bootstrap.php"
2389
  ],
2390
+ "psr-4": {
2391
+ "Symfony\\Polyfill\\Php73\\": ""
2392
+ },
2393
  "classmap": [
2394
  "Resources/stubs"
2395
  ]
2417
  "shim"
2418
  ],
2419
  "support": {
2420
+ "source": "https://github.com/symfony/polyfill-php73/tree/v1.24.0"
2421
  },
2422
  "funding": [
2423
  {
2433
  "type": "tidelift"
2434
  }
2435
  ],
2436
+ "time": "2021-06-05T21:20:04+00:00"
2437
  },
2438
  {
2439
  "name": "symfony/polyfill-php80",
2440
+ "version": "v1.24.0",
2441
  "source": {
2442
  "type": "git",
2443
  "url": "https://github.com/symfony/polyfill-php80.git",
2444
+ "reference": "57b712b08eddb97c762a8caa32c84e037892d2e9"
2445
  },
2446
  "dist": {
2447
  "type": "zip",
2448
+ "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/57b712b08eddb97c762a8caa32c84e037892d2e9",
2449
+ "reference": "57b712b08eddb97c762a8caa32c84e037892d2e9",
2450
  "shasum": ""
2451
  },
2452
  "require": {
2463
  }
2464
  },
2465
  "autoload": {
 
 
 
2466
  "files": [
2467
  "bootstrap.php"
2468
  ],
2469
+ "psr-4": {
2470
+ "Symfony\\Polyfill\\Php80\\": ""
2471
+ },
2472
  "classmap": [
2473
  "Resources/stubs"
2474
  ]
2500
  "shim"
2501
  ],
2502
  "support": {
2503
+ "source": "https://github.com/symfony/polyfill-php80/tree/v1.24.0"
2504
  },
2505
  "funding": [
2506
  {
2516
  "type": "tidelift"
2517
  }
2518
  ],
2519
+ "time": "2021-09-13T13:58:33+00:00"
2520
  },
2521
  {
2522
  "name": "symfony/service-contracts",
2523
+ "version": "v2.5.0",
2524
  "source": {
2525
  "type": "git",
2526
  "url": "https://github.com/symfony/service-contracts.git",
2527
+ "reference": "1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc"
2528
  },
2529
  "dist": {
2530
  "type": "zip",
2531
+ "url": "https://api.github.com/repos/symfony/service-contracts/zipball/1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc",
2532
+ "reference": "1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc",
2533
  "shasum": ""
2534
  },
2535
  "require": {
2536
  "php": ">=7.2.5",
2537
+ "psr/container": "^1.1",
2538
+ "symfony/deprecation-contracts": "^2.1"
2539
+ },
2540
+ "conflict": {
2541
+ "ext-psr": "<1.1|>=2"
2542
  },
2543
  "suggest": {
2544
  "symfony/service-implementation": ""
2546
  "type": "library",
2547
  "extra": {
2548
  "branch-alias": {
2549
+ "dev-main": "2.5-dev"
2550
  },
2551
  "thanks": {
2552
  "name": "symfony/contracts",
2583
  "standards"
2584
  ],
2585
  "support": {
2586
+ "source": "https://github.com/symfony/service-contracts/tree/v2.5.0"
2587
  },
2588
  "funding": [
2589
  {
2599
  "type": "tidelift"
2600
  }
2601
  ],
2602
+ "time": "2021-11-04T16:48:04+00:00"
2603
  },
2604
  {
2605
  "name": "symfony/yaml",
2606
+ "version": "v4.4.37",
2607
  "source": {
2608
  "type": "git",
2609
  "url": "https://github.com/symfony/yaml.git",
2610
+ "reference": "d7f637cc0f0cc14beb0984f2bb50da560b271311"
2611
  },
2612
  "dist": {
2613
  "type": "zip",
2614
+ "url": "https://api.github.com/repos/symfony/yaml/zipball/d7f637cc0f0cc14beb0984f2bb50da560b271311",
2615
+ "reference": "d7f637cc0f0cc14beb0984f2bb50da560b271311",
2616
  "shasum": ""
2617
  },
2618
  "require": {
2654
  "description": "Loads and dumps YAML files",
2655
  "homepage": "https://symfony.com",
2656
  "support": {
2657
+ "source": "https://github.com/symfony/yaml/tree/v4.4.37"
2658
  },
2659
  "funding": [
2660
  {
2670
  "type": "tidelift"
2671
  }
2672
  ],
2673
+ "time": "2022-01-24T20:11:01+00:00"
2674
  },
2675
  {
2676
  "name": "theseer/tokenizer",
2791
  "prefer-lowest": false,
2792
  "platform": [],
2793
  "platform-dev": [],
2794
+ "plugin-api-version": "2.2.0"
2795
  }
composer.phar DELETED
Binary file
core/AAMFieldsExtractor.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * Copyright (C) 2015-present, Facebook, Inc.
4
  *
5
  * This program is free software; you can redistribute it and/or modify
6
  * it under the terms of the GNU General Public License as published by
1
  <?php
2
  /**
3
+ * Copyright (C) 2015-present, Meta, Inc.
4
  *
5
  * This program is free software; you can redistribute it and/or modify
6
  * it under the terms of the GNU General Public License as published by
core/AAMSettingsFields.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /*
3
- * Copyright (C) 2017-present, Facebook, Inc.
4
  *
5
  * This program is free software; you can redistribute it and/or modify
6
  * it under the terms of the GNU General Public License as published by
1
  <?php
2
  /*
3
+ * Copyright (C) 2017-present, Meta, Inc.
4
  *
5
  * This program is free software; you can redistribute it and/or modify
6
  * it under the terms of the GNU General Public License as published by
core/EventIdGenerator.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * Copyright (C) 2015-present, Facebook, Inc.
4
  *
5
  * This program is free software; you can redistribute it and/or modify
6
  * it under the terms of the GNU General Public License as published by
1
  <?php
2
  /**
3
+ * Copyright (C) 2015-present, Meta, Inc.
4
  *
5
  * This program is free software; you can redistribute it and/or modify
6
  * it under the terms of the GNU General Public License as published by
core/FacebookPixel.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /*
3
- * Copyright (C) 2017-present, Facebook, Inc.
4
  *
5
  * This program is free software; you can redistribute it and/or modify
6
  * it under the terms of the GNU General Public License as published by
@@ -46,7 +46,7 @@ class FacebookPixel {
46
  private static $pixelId = '';
47
 
48
  private static $pixelBaseCode = "
49
- <!-- Facebook Pixel Code -->
50
  <script type='text/javascript'>
51
  !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
52
  n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
@@ -54,20 +54,20 @@ n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
54
  t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
55
  document,'script','https://connect.facebook.net/en_US/fbevents.js');
56
  </script>
57
- <!-- End Facebook Pixel Code -->
58
  ";
59
 
60
  private static $pixelFbqCodeWithoutScript = "
61
  fbq('%s', '%s'%s%s);
62
- ";
63
 
64
  private static $pixelNoscriptCode = "
65
- <!-- Facebook Pixel Code -->
66
  <noscript>
67
  <img height=\"1\" width=\"1\" style=\"display:none\" alt=\"fbpx\"
68
  src=\"https://www.facebook.com/tr?id=%s&ev=%s%s&noscript=1\" />
69
  </noscript>
70
- <!-- End Facebook Pixel Code -->
71
  ";
72
 
73
  public static function initialize($pixel_id = '') {
@@ -150,6 +150,45 @@ src=\"https://www.facebook.com/tr?id=%s&ev=%s%s&noscript=1\" />
150
  '');
151
  }
152
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
153
  /**
154
  * Gets FB pixel noscript code
155
  */
1
  <?php
2
  /*
3
+ * Copyright (C) 2017-present, Meta, Inc.
4
  *
5
  * This program is free software; you can redistribute it and/or modify
6
  * it under the terms of the GNU General Public License as published by
46
  private static $pixelId = '';
47
 
48
  private static $pixelBaseCode = "
49
+ <!-- Meta Pixel Code -->
50
  <script type='text/javascript'>
51
  !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
52
  n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
54
  t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
55
  document,'script','https://connect.facebook.net/en_US/fbevents.js');
56
  </script>
57
+ <!-- End Meta Pixel Code -->
58
  ";
59
 
60
  private static $pixelFbqCodeWithoutScript = "
61
  fbq('%s', '%s'%s%s);
62
+ ";
63
 
64
  private static $pixelNoscriptCode = "
65
+ <!-- Meta Pixel Code -->
66
  <noscript>
67
  <img height=\"1\" width=\"1\" style=\"display:none\" alt=\"fbpx\"
68
  src=\"https://www.facebook.com/tr?id=%s&ev=%s%s&noscript=1\" />
69
  </noscript>
70
+ <!-- End Meta Pixel Code -->
71
  ";
72
 
73
  public static function initialize($pixel_id = '') {
150
  '');
151
  }
152
 
153
+ /**
154
+ * Loads open_bridge configs
155
+ */
156
+ public static function getOpenBridgeConfiguration() {
157
+ $pixelId = self::$pixelId;
158
+ $eventsFilter = FacebookWordpressOptions::getCapiIntegrationEventsFilter();
159
+ $obFilePath = plugins_url( '../js/openbridge_plugin.js', __FILE__ );
160
+
161
+ return <<<EOT
162
+ <script type='text/javascript'>
163
+
164
+ function updateConfig() {
165
+ var eventsFilter = "$eventsFilter";
166
+ var eventsFilterList = eventsFilter.split(',');
167
+ fbq.instance.pluginConfig.set("$pixelId", 'openbridge',
168
+ {'endpoints':
169
+ [{
170
+ 'targetDomain': window.location.href,
171
+ 'endpoint': window.location.href + '.open-bridge'
172
+ }],
173
+ 'eventsFilter': {
174
+ 'eventNames':eventsFilterList,
175
+ 'filteringMode':'blocklist'
176
+ }
177
+ }
178
+ );
179
+ fbq.instance.configLoaded("$pixelId");
180
+ }
181
+
182
+ window.onload = function() {
183
+ var s = document.createElement('script');
184
+ s.setAttribute('src', "$obFilePath");
185
+ s.setAttribute('onload', 'updateConfig()');
186
+ document.body.appendChild( s );
187
+ }
188
+ </script>
189
+ EOT;
190
+ }
191
+
192
  /**
193
  * Gets FB pixel noscript code
194
  */
core/FacebookPluginConfig.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /*
3
- * Copyright (C) 2017-present, Facebook, Inc.
4
  *
5
  * This program is free software; you can redistribute it and/or modify
6
  * it under the terms of the GNU General Public License as published by
@@ -20,10 +20,10 @@ namespace FacebookPixelPlugin\Core;
20
  defined('ABSPATH') or die('Direct access not allowed');
21
 
22
  class FacebookPluginConfig {
23
- const PLUGIN_VERSION = '3.0.6';
24
  const SOURCE = 'wordpress';
25
  const TEXT_DOMAIN = 'official-facebook-pixel';
26
- const PLUGIN_NAME = 'Facebook for WordPress';
27
  const PLUGIN_REVIEW_PAGE = 'https://wordpress.org/plugins/official-facebook-pixel/#reviews';
28
 
29
  const ADMIN_CAPABILITY = 'manage_options';
@@ -40,9 +40,9 @@ class FacebookPluginConfig {
40
  const ADMIN_IGNORE_PLUGIN_REVIEW_NOTICE =
41
  'ignore_plugin_review_notice';
42
  const ADMIN_MENU_SLUG = 'facebook_pixel_options';
43
- const ADMIN_MENU_TITLE = 'Facebook';
44
  const ADMIN_OPTION_GROUP = 'facebook_option_group';
45
- const ADMIN_PAGE_TITLE = 'Facebook Pixel Settings';
46
  const ADMIN_PRIVACY_URL = 'https://developers.facebook.com/docs/privacy/';
47
  const ADMIN_S2S_URL = 'https://developers.facebook.com/docs/marketing-api/conversions-api';
48
  const ADMIN_SECTION_ID = 'facebook_settings_section';
@@ -71,6 +71,28 @@ class FacebookPluginConfig {
71
  const IS_PIXEL_RENDERED = 'is_pixel_rendered';
72
  const IS_NOSCRIPT_RENDERED = 'is_noscript_rendered';
73
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  // integration config: INTEGRATION_KEY => PLUGIN_CLASS
75
  public static function integrationConfig() {
76
  return array(
1
  <?php
2
  /*
3
+ * Copyright (C) 2017-present, Meta, Inc.
4
  *
5
  * This program is free software; you can redistribute it and/or modify
6
  * it under the terms of the GNU General Public License as published by
20
  defined('ABSPATH') or die('Direct access not allowed');
21
 
22
  class FacebookPluginConfig {
23
+ const PLUGIN_VERSION = '3.0.7';
24
  const SOURCE = 'wordpress';
25
  const TEXT_DOMAIN = 'official-facebook-pixel';
26
+ const PLUGIN_NAME = 'Meta for WordPress';
27
  const PLUGIN_REVIEW_PAGE = 'https://wordpress.org/plugins/official-facebook-pixel/#reviews';
28
 
29
  const ADMIN_CAPABILITY = 'manage_options';
40
  const ADMIN_IGNORE_PLUGIN_REVIEW_NOTICE =
41
  'ignore_plugin_review_notice';
42
  const ADMIN_MENU_SLUG = 'facebook_pixel_options';
43
+ const ADMIN_MENU_TITLE = 'Meta';
44
  const ADMIN_OPTION_GROUP = 'facebook_option_group';
45
+ const ADMIN_PAGE_TITLE = 'Meta Pixel Settings';
46
  const ADMIN_PRIVACY_URL = 'https://developers.facebook.com/docs/privacy/';
47
  const ADMIN_S2S_URL = 'https://developers.facebook.com/docs/marketing-api/conversions-api';
48
  const ADMIN_SECTION_ID = 'facebook_settings_section';
71
  const IS_PIXEL_RENDERED = 'is_pixel_rendered';
72
  const IS_NOSCRIPT_RENDERED = 'is_noscript_rendered';
73
 
74
+ // OPEN_BRIDGE_PATH must match the value in cloudbridge-post -> b.host
75
+ // found in js/openbridge_plugin.js
76
+ const OPEN_BRIDGE_PATH = '/open-bridge/events';
77
+ const CAPI_INTEGRATION_DIV_TOP = 500;
78
+ const CAPI_INTEGRATION_STATUS = 'facebook_capi_integration_status';
79
+ // Default CAPI integration status: Enabled
80
+ const CAPI_INTEGRATION_STATUS_DEFAULT = '1';
81
+ const CAPI_INTEGRATION_EVENTS_FILTER =
82
+ 'facebook_capi_integration_events_filter';
83
+ const CAPI_INTEGRATION_EVENTS_FILTER_DEFAULT =
84
+ 'Microdata,SubscribedButtonClick';
85
+ const CAPI_INTEGRATION_STATUS_UPDATE_ERROR =
86
+ 'Status could not be saved, please refresh the page and continue.';
87
+ const CAPI_INTEGRATION_EVENTS_FILTER_UPDATE_ERROR =
88
+ 'Filter could not be saved, please refresh the page and continue.';
89
+ const SAVE_CAPI_INTEGRATION_STATUS_ACTION_NAME =
90
+ 'save_capi_integration_status';
91
+ const SAVE_CAPI_INTEGRATION_EVENTS_FILTER_ACTION_NAME =
92
+ 'save_capi_integration_events_filter';
93
+ const CAPI_INTEGRATION_FILTER_PAGE_VIEW_EVENT = '1';
94
+ const CAPI_INTEGRATION_KEEP_PAGE_VIEW_EVENT = '0';
95
+
96
  // integration config: INTEGRATION_KEY => PLUGIN_CLASS
97
  public static function integrationConfig() {
98
  return array(
core/FacebookPluginUtils.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /*
3
- * Copyright (C) 2017-present, Facebook, Inc.
4
  *
5
  * This program is free software; you can redistribute it and/or modify
6
  * it under the terms of the GNU General Public License as published by
@@ -56,4 +56,12 @@ class FacebookPluginUtils {
56
  public static function isInternalUser() {
57
  return current_user_can('edit_posts') || current_user_can('upload_files');
58
  }
 
 
 
 
 
 
 
 
59
  }
1
  <?php
2
  /*
3
+ * Copyright (C) 2017-present, Meta, Inc.
4
  *
5
  * This program is free software; you can redistribute it and/or modify
6
  * it under the terms of the GNU General Public License as published by
56
  public static function isInternalUser() {
57
  return current_user_can('edit_posts') || current_user_can('upload_files');
58
  }
59
+
60
+ public static function endsWith( $haystack, $needle ) {
61
+ $length = strlen( $needle );
62
+ if( !$length ) {
63
+ return false;
64
+ }
65
+ return substr( $haystack, -$length ) === $needle;
66
+ }
67
  }
core/FacebookServerSideEvent.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /*
3
- * Copyright (C) 2017-present, Facebook, Inc.
4
  *
5
  * This program is free software; you can redistribute it and/or modify
6
  * it under the terms of the GNU General Public License as published by
@@ -88,6 +88,13 @@ class FacebookServerSideEvent {
88
  $access_token = FacebookWordpressOptions::getAccessToken();
89
  $agent = FacebookWordpressOptions::getAgentString();
90
 
 
 
 
 
 
 
 
91
  if(empty($pixel_id) || empty($access_token)){
92
  return;
93
  }
1
  <?php
2
  /*
3
+ * Copyright (C) 2017-present, Meta, Inc.
4
  *
5
  * This program is free software; you can redistribute it and/or modify
6
  * it under the terms of the GNU General Public License as published by
88
  $access_token = FacebookWordpressOptions::getAccessToken();
89
  $agent = FacebookWordpressOptions::getAgentString();
90
 
91
+ // If events are from openbridge, add _capi in user agent
92
+ if (count($events) === 1 &&
93
+ (($events[0]['custom_data']['custom_properties']['fb_integration_tracking']
94
+ ?? NULL) === 'wp-cloudbridge-plugin')) {
95
+ $agent .= '_capi';
96
+ }
97
+
98
  if(empty($pixel_id) || empty($access_token)){
99
  return;
100
  }
core/FacebookWordpressOpenBridge.php ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Copyright (C) 2017-present, Meta, Inc.
4
+ *
5
+ * This program is free software; you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation; version 2 of the License.
8
+ * This program is distributed in the hope that it will be useful,
9
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ * GNU General Public License for more details.
12
+ */
13
+
14
+ /**
15
+ * @package FacebookPixelPlugin
16
+ */
17
+
18
+ namespace FacebookPixelPlugin\Core;
19
+
20
+ use FacebookPixelPlugin\Core\ServerEventFactory;
21
+ use FacebookPixelPlugin\Core\FacebookServerSideEvent;
22
+
23
+ defined('ABSPATH') or die('Direct access not allowed');
24
+
25
+ class FacebookWordpressOpenBridge {
26
+
27
+ private static $instance = null;
28
+ private static $blocked_events = array('Microdata');
29
+
30
+ public function __construct() {
31
+ }
32
+
33
+ public static function getInstance() {
34
+ if (self::$instance == null) {
35
+ self::$instance = new FacebookWordpressOpenBridge();
36
+ }
37
+ return self::$instance;
38
+ }
39
+
40
+ public function handleOpenBridgeReq($data){
41
+ $event_name = $data['event_name'];
42
+ if(in_array($event_name, self::$blocked_events)){
43
+ return;
44
+ }
45
+ $server_event = ServerEventFactory::safeCreateEvent(
46
+ $event_name,
47
+ array($this, 'extractFromDatabag'),
48
+ array($data),
49
+ 'wp-cloudbridge-plugin',
50
+ true
51
+ );
52
+
53
+ $server_event->setEventId($data['event_id']);
54
+ FacebookServerSideEvent::getInstance()->track($server_event, true);
55
+ }
56
+
57
+ public function extractFromDatabag($data){
58
+ $event_data = FacebookPluginUtils::getLoggedInUserInfo();
59
+
60
+ $custom_data = $data['custom_data'];
61
+ foreach ($custom_data as $key => $value) {
62
+ if(is_array($value)) continue;
63
+ $event_data[$key] = $value;
64
+ }
65
+
66
+ $matching_data = $data['fb.advanced_matching'];
67
+ foreach ($matching_data as $key => $value) {
68
+ if(is_array($value)) continue;
69
+ $event_data[$key] = $value;
70
+ }
71
+ return $event_data;
72
+ }
73
+
74
+ }
core/FacebookWordpressOptions.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /*
3
- * Copyright (C) 2017-present, Facebook, Inc.
4
  *
5
  * This program is free software; you can redistribute it and/or modify
6
  * it under the terms of the GNU General Public License as published by
@@ -26,6 +26,8 @@ class FacebookWordpressOptions {
26
  private static $userInfo = array();
27
  private static $versionInfo = array();
28
  private static $aamSettings = null;
 
 
29
  const AAM_SETTINGS_REFRESH_IN_MINUTES = 20;
30
 
31
  public static function initialize() {
@@ -33,12 +35,41 @@ class FacebookWordpressOptions {
33
  self::setVersionInfo();
34
  self::setAAMSettings();
35
  self::setUserInfo();
 
 
36
  }
37
 
38
  public static function getOptions() {
39
  return self::$options;
40
  }
41
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  public static function getDefaultPixelID() {
43
  return is_null(FacebookPluginConfig::DEFAULT_PIXEL_ID)
44
  ? '' : FacebookPluginConfig::DEFAULT_PIXEL_ID;
@@ -231,7 +262,7 @@ class FacebookWordpressOptions {
231
  }
232
  }
233
  // If the settings are not present
234
- // they are fetched from Facebook domain
235
  // and cached in WP database if they are not null
236
  if(!self::$aamSettings){
237
  $refresh_interval =
1
  <?php
2
  /*
3
+ * Copyright (C) 2017-present, Meta, Inc.
4
  *
5
  * This program is free software; you can redistribute it and/or modify
6
  * it under the terms of the GNU General Public License as published by
26
  private static $userInfo = array();
27
  private static $versionInfo = array();
28
  private static $aamSettings = null;
29
+ private static $capiIntegrationEnabled = null;
30
+ private static $capiIntegrationEventsFilter = null;
31
  const AAM_SETTINGS_REFRESH_IN_MINUTES = 20;
32
 
33
  public static function initialize() {
35
  self::setVersionInfo();
36
  self::setAAMSettings();
37
  self::setUserInfo();
38
+ self::setCapiIntegrationStatus();
39
+ self::setCapiIntegrationEventsFilter();
40
  }
41
 
42
  public static function getOptions() {
43
  return self::$options;
44
  }
45
 
46
+ public static function setCapiIntegrationStatus() {
47
+ self::$capiIntegrationEnabled =
48
+ \get_option(FacebookPluginConfig::CAPI_INTEGRATION_STATUS);
49
+ }
50
+
51
+ public static function getCapiIntegrationStatus() {
52
+ return is_null(self::$capiIntegrationEnabled) ?
53
+ (is_null(FacebookPluginConfig::CAPI_INTEGRATION_STATUS_DEFAULT)
54
+ ? '0' : FacebookPluginConfig::CAPI_INTEGRATION_STATUS_DEFAULT ) :
55
+ self::$capiIntegrationEnabled;
56
+ }
57
+
58
+ public static function setCapiIntegrationEventsFilter() {
59
+ self::$capiIntegrationEventsFilter =
60
+ \get_option(FacebookPluginConfig::CAPI_INTEGRATION_EVENTS_FILTER);
61
+ }
62
+
63
+ public static function getCapiIntegrationEventsFilter() {
64
+ return is_null(self::$capiIntegrationEventsFilter) ?
65
+ FacebookPluginConfig::CAPI_INTEGRATION_EVENTS_FILTER_DEFAULT :
66
+ self::$capiIntegrationEventsFilter;
67
+ }
68
+
69
+ public static function getCapiIntegrationPageViewFiltered() {
70
+ return str_contains(self::getCapiIntegrationEventsFilter(), 'PageView');
71
+ }
72
+
73
  public static function getDefaultPixelID() {
74
  return is_null(FacebookPluginConfig::DEFAULT_PIXEL_ID)
75
  ? '' : FacebookPluginConfig::DEFAULT_PIXEL_ID;
262
  }
263
  }
264
  // If the settings are not present
265
+ // they are fetched from Meta domain
266
  // and cached in WP database if they are not null
267
  if(!self::$aamSettings){
268
  $refresh_interval =
core/FacebookWordpressPixelInjection.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /*
3
- * Copyright (C) 2017-present, Facebook, Inc.
4
  *
5
  * This program is free software; you can redistribute it and/or modify
6
  * it under the terms of the GNU General Public License as published by
@@ -27,6 +27,8 @@ class FacebookWordpressPixelInjection {
27
 
28
  public function inject() {
29
  $pixel_id = FacebookWordpressOptions::getPixelId();
 
 
30
  if (FacebookPluginUtils::isPositiveInteger($pixel_id)) {
31
  add_action(
32
  'wp_head',
@@ -34,7 +36,11 @@ class FacebookWordpressPixelInjection {
34
  add_action(
35
  'wp_head',
36
  array($this, 'injectPixelNoscriptCode'));
37
-
 
 
 
 
38
  foreach (FacebookPluginConfig::integrationConfig() as $key => $value) {
39
  $class_name = 'FacebookPixelPlugin\\Integration\\'.$value;
40
  $class_name::injectPixelCode();
@@ -75,6 +81,14 @@ class FacebookWordpressPixelInjection {
75
  echo(FacebookPixel::getPixelPageViewCode());
76
  }
77
 
 
 
 
 
 
 
 
 
78
  public function injectPixelNoscriptCode() {
79
  echo(FacebookPixel::getPixelNoscriptCode());
80
  }
1
  <?php
2
  /*
3
+ * Copyright (C) 2017-present, Meta, Inc.
4
  *
5
  * This program is free software; you can redistribute it and/or modify
6
  * it under the terms of the GNU General Public License as published by
27
 
28
  public function inject() {
29
  $pixel_id = FacebookWordpressOptions::getPixelId();
30
+ $capiIntegrationStatus =
31
+ FacebookWordpressOptions::getCapiIntegrationStatus();
32
  if (FacebookPluginUtils::isPositiveInteger($pixel_id)) {
33
  add_action(
34
  'wp_head',
36
  add_action(
37
  'wp_head',
38
  array($this, 'injectPixelNoscriptCode'));
39
+ if ($capiIntegrationStatus === '1') {
40
+ add_action(
41
+ 'wp_body_open',
42
+ array($this, 'injectOpenBridgeCode'));
43
+ }
44
  foreach (FacebookPluginConfig::integrationConfig() as $key => $value) {
45
  $class_name = 'FacebookPixelPlugin\\Integration\\'.$value;
46
  $class_name::injectPixelCode();
81
  echo(FacebookPixel::getPixelPageViewCode());
82
  }
83
 
84
+ public function injectOpenBridgeCode() {
85
+ $pixel_id = FacebookPixel::getPixelId();
86
+ if (empty($pixel_id)) {
87
+ return;
88
+ }
89
+ echo(FacebookPixel::getOpenBridgeConfiguration());
90
+ }
91
+
92
  public function injectPixelNoscriptCode() {
93
  echo(FacebookPixel::getPixelNoscriptCode());
94
  }
core/FacebookWordpressSettingsPage.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /*
3
- * Copyright (C) 2017-present, Facebook, Inc.
4
  *
5
  * This program is free software; you can redistribute it and/or modify
6
  * it under the terms of the GNU General Public License as published by
@@ -30,6 +30,7 @@ class FacebookWordpressSettingsPage {
30
  array($this, 'addSettingsLink'));
31
  add_action('admin_menu', array($this, 'addMenuFbe'));
32
  add_action('admin_init', array($this, 'dismissNotices'));
 
33
  add_action('admin_enqueue_scripts', array($this, 'registerPluginScripts'));
34
  add_action('current_screen', array($this, 'registerNotices'));
35
  }
@@ -50,6 +51,13 @@ class FacebookWordpressSettingsPage {
50
  FacebookPluginConfig::ADMIN_CAPABILITY,
51
  FacebookPluginConfig::ADMIN_MENU_SLUG,
52
  array($this, 'addFbeBox'));
 
 
 
 
 
 
 
53
  }
54
 
55
  public function addFbeBox(){
@@ -84,17 +92,96 @@ class FacebookWordpressSettingsPage {
84
 
85
  private function getFbeBrowserSettings(){
86
  ob_start();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  ?>
88
  <div>
89
  <div id="fbe-iframe">
90
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
  </div>
92
 
93
  <script>
 
 
 
 
 
 
 
 
94
  window.facebookBusinessExtensionConfig = {
95
  pixelId: '<?php echo esc_html(FacebookWordpressOptions::getPixelId()) ?>'
96
  ,popupOrigin: "https://business.facebook.com"
97
- ,setSaveSettingsRoute: '<?php echo $this->getFbeSaveSettingsAjaxRoute() ?>'
 
98
  ,externalBusinessId: '<?php echo esc_html(
99
  FacebookWordpressOptions::getExternalBusinessId()
100
  )?>'
@@ -111,9 +198,146 @@ class FacebookWordpressSettingsPage {
111
  ,currency: 'USD'
112
  ,businessName: 'Solutions Engineering Team'
113
  ,debug: true
114
- ,channel: 'CONVERSIONS_API'
115
  };
116
  console.log(JSON.stringify(window.facebookBusinessExtensionConfig));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
117
  </script>
118
  <?php
119
  $initialScript = ob_get_clean();
@@ -132,6 +356,32 @@ class FacebookWordpressSettingsPage {
132
  return add_query_arg($args, $simple_url);
133
  }
134
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
135
  public function getDeleteFbeSettingsAjaxRoute(){
136
  $nonce_value = wp_create_nonce(
137
  FacebookPluginConfig::DELETE_FBE_SETTINGS_ACTION_NAME
@@ -184,7 +434,7 @@ class FacebookWordpressSettingsPage {
184
  FacebookPluginConfig::PLUGIN_NAME);
185
  if($valid_pixel_id){
186
  if($valid_access_token){
187
- $message = sprintf('Easily manage your connection to Facebook with %s.',
188
  $plugin_name_tag);
189
  }
190
  else{
1
  <?php
2
  /*
3
+ * Copyright (C) 2017-present, Meta, Inc.
4