WC_Payment_Gateway::get_icon()

Return the gateway’s icon.


Description Description


Return Return

(string)


Top ↑

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 );
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.