WC_Payment_Gateway::get_title()publicWC 1.0

Return the gateway's title.

{} It's a method of the class: WC_Payment_Gateway{}

Hooks from the method

Return

String.

Usage

$WC_Payment_Gateway = new WC_Payment_Gateway();
$WC_Payment_Gateway->get_title();

Code of WC_Payment_Gateway::get_title() WC 6.8.2

public function get_title() {
	$title = wc_get_container()->get( HtmlSanitizer::class )->sanitize( (string) $this->title, HtmlSanitizer::LOW_HTML_BALANCED_TAGS_NO_LINKS );
	return apply_filters( 'woocommerce_gateway_title', $title, $this->id );
}