PluginProbe
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification / 5.5.0
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification v5.5.0
5.12.0 5.13.0 5.13.1 5.11.0 5.10.0 5.9.0 5.8.0 5.8.1 5.7.0 5.6.2 5.6.3 5.6.1 5.6.0 5.5.0 5.4.0 5.3.2 5.3.1 5.1.6 5.1.5 trunk 2.1.5 2.11 2.12 2.13 2.15 All 47 releases
← All changes | core/feedback.php +1 -21 5.9.0 → 5.5.0 View file →
@@ -88,28 +88,8 @@
88 88 return $args;
89 89 }
90 90
91 91 /**
92 - * Campaign tags for links into the shop.
93 - *
94 - * forge12.com runs WooCommerce, whose Order Attribution stores the utm_*
95 - * parameters a buyer arrived with on the order. `from` alone only shows up in
96 - * server logs; these make a sale traceable to the place in the plugin that led
97 - * to it. Product links only — a feedback or support visit is not a sale.
98 - *
99 - * @param string $from Which entry point the click came from.
100 - *
101 - * @return array<string, string>
102 - */
103 -function campaign_args( string $from ): array {
104 - return array(
105 - 'utm_source' => 'double-opt-in',
106 - 'utm_medium' => 'plugin',
107 - 'utm_campaign' => $from !== '' ? $from : 'unspecified',
108 - );
109 -}
110 -
111 -/**
112 92 * Build a link to the product page.
113 93 *
114 94 * @param string $from Which entry point the click came from.
115 95 *
@@ -115,9 +95,9 @@
115 95 *
116 96 * @return string
117 97 */
118 98 function get_product_url( string $from = '' ): string {
119 - $url = add_query_arg( link_args( $from ) + campaign_args( $from ), PRODUCT_BASE . PRODUCT_PATH );
99 + $url = add_query_arg( link_args( $from ), PRODUCT_BASE . PRODUCT_PATH );
120 100
121 101 /**
122 102 * Filter a link to the product site.
123 103 *