File manager - Edit - /home/verseaumee/lauvia/wp-content/plugins/woo-stripe-payment/includes/updates/update-3.3.89.php
Back
<?php if ( function_exists( 'WC' ) ) { $advanced_settings = stripe_wc()->advanced_settings; $payment_gateways = WC()->payment_gateways()->payment_gateways(); $cc_gateway = $payment_gateways['stripe_cc'] ?? null; if ( $cc_gateway && $advanced_settings ) { /** * @var \WC_Payment_Gateway_Stripe_CC $cc_gateway */ $cc_gateway->update_option( 'link_enabled', $advanced_settings->get_option( 'link_enabled' ) ); } }
| ver. 1.4 |
Github
|
.
| PHP 8.5.7 | Generation time: 0 |
proxy
|
phpinfo
|
Settings