LLMS_Admin_Post_Table_Coupons::add_columns( array $columns )
Add Custom Coupon Columns
Parameters Parameters
- $columns
-
(array) (Required) array of default columns
Return Return
(array)
Source Source
File: includes/admin/post-types/post-tables/class.llms.admin.post.table.coupons.php
public function add_columns( $columns ) { $columns = array( 'cb' => '<input type="checkbox" />', 'title' => __( 'Code', 'lifterlms' ), 'amount' => __( 'Coupon Amount', 'lifterlms' ), 'desc' => __( 'Description', 'lifterlms' ), 'usage' => __( 'Usage / Limit', 'lifterlms' ), 'expiry' => __( 'Expiration Date', 'lifterlms' ), ); return $columns; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |