table

Interfaces, Classes and Traits

Product_Table_Data
An interface for table data.
Admin_Controller
Handles general admin functions, such as adding links to our settings page in the Plugins menu.
Settings_Page
Provides functions for the plugin settings page in the WordPress admin.
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.
Theme_Compat
Provides functions for compatibility and integration with different themes.
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_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_Short_Description
Gets data for the short description column.
Product_Sku
Gets data for the SKU column.
Product_Stock
Gets data for the stock column.
Product_Tags
Gets data for the tags column.
Product_Weight
Gets data for the weight column.
WCPT_Util
WCPT_Settings
Abstract_Product_Table_Data
Abstract data class used to fetch data for a product in the table.
WC_Product_Table_Plugin
The main plugin class. Responsible for setting up to core plugin services.
WC_Product_Table
Represents a table of WooCommerce products.
WC_Product_Table_Columns
Responsible for managing the product table columns.
WC_Product_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.
WC_Product_Table_Config_Builder
Responsible for creating the product table config script.
WC_Product_Table_Args
Responsible for storing and validating the product table arguments.
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.
Plugin
The main plugin class. Responsible for setting up to core plugin services.
Plugin_Factory
Factory to create/return the shared plugin instance.
Product_Table
Represents a table of WooCommerce products.
Query_Hooks
Handles the scoped hooks (actions and filters) which are used during the product table query.
Table_Args
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.
Columns_Util
Utility functions for the product table columns.
Settings
Utility functions for the product table settings.
Util
Utility functions for WooCommerce Product Table.
WC_Product_Table_Widget
Abstract widget class extended by the Product Table widgets.
WC_Product_Table_Widget_Layered_Nav_Filters
Product Table implementation of WooCommerce Layered Navigation Filters Widget.
WC_Product_Table_Widget_Layered_Nav
Product Table implementation of WooCommerce Layered Navigation Widget.
WC_Product_Table_Widget_Price_Filter
Product Table implementation of WooCommerce Price Filter Widget.
WC_Product_Table_Widget_Rating_Filter
Product Table implementation of WooCommerce Rating Filter Widget.

Table of Contents

wc_esc_json()  : string
Escape JSON for use on HTML or attribute text nodes.
woocommerce_product_loop()  : bool
Should the WooCommerce loop be displayed?

Functions

wc_esc_json()

Escape JSON for use on HTML or attribute text nodes.

wc_esc_json(string $json[, bool $html = false ]) : string
Parameters
$json : string

JSON to escape.

$html : bool = false

True if escaping for HTML text node, false for attributes. Determines how quotes are handled.

Tags
since
3.5.5
Return values
string

Escaped JSON.

woocommerce_product_loop()

Should the WooCommerce loop be displayed?

woocommerce_product_loop() : bool

This will return true if we have posts (products) or if we have subcats to display.

Tags
since
3.4.0
Return values
bool

Search results