WordPress at Your Fingertips
function is not described

WC_Payment_Gateway::get_description() public WC 1.0

Return the gateway's description.

{} 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_description();

Code of WC_Payment_Gateway::get_description() WC 5.5.2

<?php
public function get_description() {
	return apply_filters( 'woocommerce_gateway_description', $this->description, $this->id );
}