Server IP : 192.158.238.246 / Your IP : 3.17.74.181 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/7779/root/proc/7779/cwd/plugins/give/src/PaymentGateways/Stripe/ |
Upload File : |
<?php namespace Give\PaymentGateways\Stripe; /** * Class DonationFormElements * @package Give\PaymentGateways\Stripe * * We use this class to output HTML fields on donation form. * * @since 2.9.2 */ class DonationFormElements { /** * Add html tags to form . * * @since 2.9.2 * * @param array $htmlTags Array of form html tags * * @return array */ public function addFormHtmlTags($htmlTags) { if (give_is_gateway_active('stripe_checkout')) { $htmlTags['data-stripe-checkout-type'] = give_stripe_get_checkout_type(); } return $htmlTags; } }