apply_filters( 'learndash_woocommerce_remove_course_access_on_subscription_billing_cycle_completion', bool $remove, WC_Subscription $subscription )
Filters whether to remove course access when a subscription billing cycle is completed.
Description #
Parameters #
- $remove
-
(bool) True to remove|false otherwise.
- $subscription
-
(WC_Subscription) WC_Subscription object.
Return #
(bool) True to remove|false otherwise.
Source #
File: includes/woocommerce/includes/class-learndash-woocommerce.php
Changelog #
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |