WC_Payment_Gateway::get_title()
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 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 ); }