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/Framework/FieldsAPI/DonationAmount.php +5 -1 4.15.14.16.9 View file →
@@ -19,8 +19,11 @@
19 19 */
20 20 public $subscriptionDetailsAreFixed = false;
21 21
22 22 /**
23 + * @since 4.16.5 Add levelId hidden field to donation amount group.
24 + * @since 3.0.0
25 + *
23 26 * @throws NameCollisionException
24 27 * @throws EmptyNameException
25 28 */
26 29 public static function make($name): DonationAmount
@@ -27,9 +30,10 @@
27 30 {
28 31 return parent::make($name)
29 32 ->append(
30 33 Amount::make('amount'),
31 - Hidden::make('currency')
34 + Hidden::make('currency'),
35 + Hidden::make('levelId')
32 36 );
33 37 }
34 38
35 39 /**