Learndash_Admin_Coupons_Listing
Class for LearnDash Coupons Listing Pages.
Description #
Source #
File: includes/admin/classes-posts-listings/class-learndash-admin-coupons-listing.php
Methods #
- __construct — Class constructor.
- column_associated — Show courses/groups.
- column_code — Show a coupon code.
- column_discount — Show a discount.
- column_redemptions — Show redemptions number.
- column_state — Show a state (active, expired, future start date).
- filter_associated — Filter by associated.
- filter_redemptions — Filter by redemptions (used or not used).
- filter_state — Filter by state.
- filter_type — Filter by type.
- listing_init — Called via the WordPress init action hook.
- selector_select_box — Selector for a select box.