File manager - Edit - /home/verseaumee/lauvia/wp-content/plugins/woo-stripe-payment/src/Traits/BNPLPaymentGatewayTrait.php
Back
<?php namespace PaymentPlugins\Stripe\Traits; trait BNPLPaymentGatewayTrait { public function get_woocommerce_gateway_icon( $icon, $gateway_id = '' ) { if ( $gateway_id === $this->id ) { if ( in_array( 'checkout', $this->get_option( 'payment_sections', array() ) ) ) { $icon = ''; } else { $src = $this->get_option( 'icon' ); if ( $src ) { $src = stripe_wc()->assets_url( "img/{$src}.svg" ); $icon = '<img src="' . \WC_HTTPS::force_https_url( $src ) . '" alt="' . esc_attr( $this->get_title() ) . '" />'; } } } return $icon; } }
| ver. 1.4 |
Github
|
.
| PHP 8.5.7 | Generation time: 0 |
proxy
|
phpinfo
|
Settings