apply_filters( 'lifterlms_pre_checkout_error', bool|string $pre_error )
Allows gateways or third parties to output custom errors before any core logic is executed.
Description Description
This filter returns false
by default. To output custom errors return the error message as a string that will be displayed on screen.
Parameters Parameters
- $pre_error
-
(bool|string) A custom error message.