WC_Payment_Gateway::get_method_description()publicWC 1.0

Return the description for admin screens.

Method of the class: WC_Payment_Gateway{}

Return

String.

Usage

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

WC_Payment_Gateway::get_method_description() code WC 9.5.1

public function get_method_description() {
	/**
	 * Filter the method description.
	 *
	 * @since 2.6.0
	 * @param string $description Method description.
	 * @param WC_Payment_Gateway $this Payment gateway instance.
	 * @return string
	 */
	return apply_filters( 'woocommerce_gateway_method_description', $this->method_description, $this );
}