WC_Payment_Gateway::get_description()publicWC 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 6.8.2

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