WC_Payment_Gateway::get_title()publicWC 1.0

Return the gateway's title.

Метод класса: WC_Payment_Gateway{}

Хуки из метода

Возвращает

Строку.

Использование

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

Код WC_Payment_Gateway::get_title() WC 8.7.0

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