table
Interfaces, Classes and Traits
- Product_Table_Data
- Admin_Controller
- Handles general admin functions, such as adding links to our settings page in the Plugins menu.
- Settings_List
- Builds the list of settings to use on the plugin settings pages.
- Settings_Page
- Provides functions for the plugin settings page in the WordPress admin.
- Settings
- The General settings tab.
- Tables
- The Product_Tables settings tab.
- TinyMCE
- This class handles our TinyMCE toolbar button.
- Ajax_Handler
- Handles the AJAX requests for product tables.
- Cart_Handler
- This class handles caching for the product tables.
- Config_Builder
- Responsible for creating the product table config script.
- Abstract_Product_Data
- Abstract data class used to fetch data for a product in the table.
- Data_Factory
- Factory class to get the product table data object for a given column.
- Product_Attribute
- Gets data for an attribute column.
- Product_Button
- Gets data for the button column.
- Product_Cart
- Gets data for the add to cart column.
- Product_Categories
- Gets data for the categories column.
- Product_Custom_Field
- Gets the data for a custom field column.
- Product_Custom_Taxonomy
- Gets data for a custom taxonomy column.
- Product_Date
- Gets data for the date column.
- Product_Date_Modified
- Gets data for the date modified column.
- Product_Description
- Gets data for the description column.
- Product_Dimensions
- Gets data for the dimensions column.
- Product_Hidden_Filter
- Gets data for a hidden filter column.
- Product_Id
- Gets data for the ID column.
- Product_Image
- Gets data for the image column.
- Product_Name
- Gets data for the name column.
- Product_Price
- Gets data for the price column.
- Product_Reviews
- Gets data for the reviews column.
- Product_Sku
- Gets data for the SKU column.
- Product_Stock
- Gets data for the stock column.
- Product_Summary
- Gets data for the summary (i.e. short description) column.
- Product_Tags
- Gets data for the tags column.
- Product_Total
- Gets data for the name column.
- Product_Weight
- Gets data for the weight column.
- WCPT_Util
- WCPT_Settings
- Columns_Util
- Column utility functions.
- Frontend_Scripts
- Handles the registering of the front-end scripts and stylesheets. Also creates the inline CSS (if required) for the product tables.
- Hook_Manager
- Responsible for managing the actions and filter hooks for an individual product table.
- Product_Addons
- Handles the WooCommerce Product Addons integration.
- Quick_View_Pro
- Handles the WooCommerce Quick View Pro integration.
- SearchWP
- Handles integration with SearchWP.
- Theme_Integration
- Handles compatibility and integration of WPT with specific themes.
- Variation_Swatches
- Integration with Variation Swatches for WooCommerce (Emran Ahmed), both the free and Pro version.
- WooCommerce_Wholesale_Pro
- Handles the WooCommerce Wholesale Pro integration.
- YITH_Request_Quote
- Integration for YITH WooCommerce Request A Quote Premium.
- Plugin
- The main plugin class. Responsible for setting up the core plugin services.
- Plugin_Factory
- Factory to create/return the shared plugin instance.
- Plugin_Setup
- Handles the setup of the plugin setup wizard.
- Product_Table
- Represents a table of WooCommerce products.
- Table_Args
- The Table_Args class is responsible for storing and validating the product table arguments.
- Table_Cache
- Handles the caching for product tables.
- Table_Columns
- Responsible for managing the product table columns.
- Table_Factory
- A Product_Table factory.
- Table_Query
- Responsible for managing the product table query, retrieving the list of products (as an array of WP_Post objects), and finding the product totals.
- Table_Shortcode
- This class handles our product table shortcode.
- Template_Handler
- This class handles adding the product table to the shop, archive, and product search pages.
- Template_Loader_Factory
- Updates
- Update functions to be used on plugin updates.
- Columns
- Utility functions for the product table columns.
- Settings
- Utility functions for the product table settings.
- Util
- Utility functions for WooCommerce Product Table.
- Active_Filters_Widget
- Product Table implementation of WooCommerce Layered Navigation Filters Widget.
- Attribute_Filter_Widget
- Product Table implementation of WooCommerce Layered Navigation Widget.
- Price_Filter_Widget
- Product Table implementation of WooCommerce Price Filter Widget.
- Product_Table_Widget
- Abstract widget class extended by the Product Table widgets.
- Rating_Filter_Widget
- Product Table implementation of WooCommerce Rating Filter Widget.
Table of Contents
- PLUGIN_FILE = __FILE__
- PLUGIN_VERSION = '4.0.1'
- wc_get_product_table() : string
- Returns a new product table with the specified arguments.
- wc_the_product_table() : mixed
- Prints (echos) a product table with the specified arguments.
- wpt() : Plugin
- Helper function to access the shared plugin instance.
Constants
PLUGIN_FILE
public
mixed
PLUGIN_FILE
= __FILE__
PLUGIN_VERSION
public
mixed
PLUGIN_VERSION
= '4.0.1'
Functions
wc_get_product_table()
Returns a new product table with the specified arguments.
wc_get_product_table([array<string|int, mixed> $args = [] ]) : string
Parameters
- $args : array<string|int, mixed> = []
-
The table arguments.
Return values
string —The product table HTML.
wc_the_product_table()
Prints (echos) a product table with the specified arguments.
wc_the_product_table([array<string|int, mixed> $args = [] ]) : mixed
Parameters
- $args : array<string|int, mixed> = []
-
The table arguments.
Return values
mixed —wpt()
Helper function to access the shared plugin instance.
wpt() : Plugin
Return values
Plugin —The plugin instance.