WC_Payment_Gateway::get_title()
Return the gateway's title.
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();
WC_Payment_Gateway::get_title() WC Payment Gateway::get title code 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 ); }