apply_filters( 'learndash_model_product_user_unenrolled', bool $unenrolled, LearnDashCoreModelsProduct $product, WP_User $user )
Filters whether a user was unenrolled from a product.
Description #
Parameters #
- $unenrolled
-
(bool) True if a user was unenrolled, false otherwise.
- $product
-
(LearnDashCoreModelsProduct) Product model.
- $user
-
(WP_User) User.
Return #
(bool) True if a user was unenrolled, false otherwise.
Source #
Changelog #
Version | Description |
---|---|
4.5.0 | Introduced. |