LLMS_AJAX_Handler::validate_coupon_code( array $request )

Validate a Coupon via the Checkout Form


Description Description


Parameters Parameters

$request

(Required) $_POST data.


Top ↑

Return Return

(array|WP_Error) On success, returns an array containing HTML parts used to update the interface of the checkout screen. On error, returns an error object with details of the encountered error.


Top ↑

Source Source

File: includes/class.llms.ajax.handler.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.21.1 Sanitize user-submitted coupon code before outputting in error messages.
3.39.0 Minor changes to code for readability with no changes to function behavior.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.