| @@ -241,5 +241,13 @@ | ||
| 241 | 241 | public static function canDisableDonationNowButton() |
| 242 | 242 | { |
| 243 | 243 | return ! empty($_GET['giveDisableDonateNowButton']); |
| 244 | 244 | } |
| 245 | + | |
| 246 | + /** | |
| 247 | + * @since 3.0.0 | |
| 248 | + */ | |
| 249 | + public static function isV3Form(int $formId): bool | |
| 250 | + { | |
| 251 | + return (bool)give()->form_meta->get_meta($formId, 'formBuilderSettings', true); | |
| 252 | + } | |
| 245 | 253 | } |