PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.9
GiveWP – Donation Plugin and Fundraising Platform v4.16.9
4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 All 255 releases
← All changes | src/Tracking/TrackingData/GivePluginSettingsData.php +7 -0 2.30.04.16.9 View file →
@@ -1,8 +1,9 @@
1 1 <?php
2 2
3 3 namespace Give\Tracking\TrackingData;
4 4
5 +use Give\BetaFeatures\Facades\FeatureFlag;
5 6 use Give\Tracking\Contracts\TrackData;
6 7 use Give\Tracking\Repositories\Settings;
7 8
8 9 /**
@@ -28,8 +29,9 @@
28 29
29 30 /**
30 31 * Returns plugin global settings.
31 32 *
33 + * @since 3.10.0 Add check for Event Tickets beta feature.
32 34 * @since 2.10.0
33 35 * @return array
34 36 */
35 37 private function getGlobalSettings()
@@ -62,8 +64,13 @@
62 64 $data[$key] = absint(give_is_setting_enabled($value));
63 65 }
64 66
65 67 $data['active_payment_gateways'] = $this->getGatewaysLabels();
68 +
69 + /**
70 + * @since 3.10.0 Add check for Event Tickets beta feature.
71 + */
72 + $data['is_event_tickets'] = FeatureFlag::eventTickets();
66 73
67 74 return $data;
68 75 }
69 76