apply_filters( 'llms_checkout_block_course_capacity_checkout', bool $block_checkout , LLMS_Access_Plan $plan )
Filter to block checkout when the course capacity has been reached. Defaults to true.
Parameters Parameters
- $block_checkout
-
(bool) Whether or not blocking the checkout form when a course is at capacity.
- $plan
-
(LLMS_Access_Plan) The access plan.
Source Source
Changelog Changelog
| Version | Description |
|---|---|
| 10.0.0 | Introduced. |