WC_Payment_Gateway::get_icon()
Return the gateway’s icon.
Description Description
Return Return
(string)
Source Source
File: includes/abstracts/abstract-wc-payment-gateway.php
public function get_icon() { $icon = $this->icon ? '<img src="' . WC_HTTPS::force_https_url( $this->icon ) . '" alt="' . esc_attr( $this->get_title() ) . '" />' : ''; return apply_filters( 'woocommerce_gateway_icon', $icon, $this->id ); }