WordPress at Your Fingertips
function is not described

WC_Coupon::get_error_message() public WC 1.0

Returns the error_message string.

{} It's a method of the class: WC_Coupon{}

No Hooks.

Return

String.

Usage

$WC_Coupon = new WC_Coupon();
$WC_Coupon->get_error_message();

Code of WC_Coupon::get_error_message() WC 5.6.0

public function get_error_message() {
	return $this->error_message;
}