EDD_Discount_Codes_Table
EDD_Discount_Codes_Table Class
Description Description
Renders the Discount Codes table on the Discount Codes page
Source Source
File: includes/admin/discounts/class-discount-codes-table.php
Changelog Changelog
Version | Description |
---|---|
1.4 | Introduced. |
Methods Methods
- __construct — Get things started
- column_cb — Render the checkbox column
- column_default — This function renders most of the columns in the list table.
- column_name — Render the Name Column
- column_status — Render the status column
- discount_codes_data — Retrieve all the data for all the discount codes
- get_bulk_actions — Retrieve the bulk actions
- get_columns — Retrieve the table columns
- get_discount_code_counts — Retrieve the discount code counts
- get_primary_column_name — Gets the name of the primary column.
- get_sortable_columns — Retrieve the table's sortable columns
- get_views — Retrieve the view types
- no_items — Message to be displayed when there are no items
- prepare_items — Setup the final data for the table
- process_bulk_action — Process the bulk actions
- search_box — Show the search field