WC_Coupon::get_error_message()publicWC 1.0

Returns the error_message string.

Method of the class: WC_Coupon{}

No Hooks.

Return

String.

Usage

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

WC_Coupon::get_error_message() code WC 9.4.2

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