learndash_model_product_pricing
Filter Hook: Filters product pricing.
@package: LearnDash
Source Files: includes/models/class-learndash-product-model.php
Filter Hook: Filters product pricing.
Method: Returns true if a user has access to this product, false otherwise.
Filter Hook: Filters whether a user has access to a product.
Method: Adds access for a user.
Filter Hook: Filters whether a user was enrolled to a product.
Method: Removes access for a user.
Filter Hook: Filters whether a user was unenrolled from a product.
Method: Returns formatted post pricing data.
Method: Returns a pricing DTO.
Class: Product model class.
Method: Returns allowed post types.
Method: Returns a product type (buy now, subscription, free, open, closed, etc).
Filter Hook: Filters product pricing type.
Method: Returns a product type label. Usually “Course” or “Group”.
Filter Hook: Filters product type label.