includesdeprecated.php

Provides backwards compatibility functions for older versions of WordPress and WooCommerce.

Classes

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.
WC_Product_Table_Shortcode
WC_Product_Table_Frontend_Scripts
WC_Product_Table_Cache
WC_Product_Table_Hook_Manager
WC_Product_Table_Ajax_Handler
WC_Product_Table_Cart_Handler
WC_Product_Table_Factory

Functions

wcpt_back_compat_args()

wcpt_back_compat_args(array  $args): array

Maintain support for old attribute names.

Parameters

array $args

The array of product table attributes

Returns

array —

The updated attributes with old ones replaced with their new equivalent