WC_Payment_Gateway::get_method_title()publicWC 1.0

Return the title for admin screens.

Method of the class: WC_Payment_Gateway{}

Hooks from the method

Returns

String.

Usage

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

WC_Payment_Gateway::get_method_title() code WC 9.8.5

public function get_method_title() {
	/**
	 * Filter the method title.
	 *
	 * @since 2.6.0
	 * @param string $title Method title.
	 * @param WC_Payment_Gateway $this Payment gateway instance.
	 * @return string
	 */
	return apply_filters( 'woocommerce_gateway_method_title', $this->method_title, $this );
}