WC_Coupon::get_error_message()publicWC 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 6.7.0

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