CONTROL_COLUMN_DATA_SOURCE
CONTROL_COLUMN_DATA_SOURCE ='control'
Represents a table of WooCommerce products.
This class is responsible for creating the table from the specified parameter and returning the complete table as a Html_Data_Table instance.
The main functions provided are get_table() and get_data().
get_table(string $output = 'object'): object|array|string
Retrieves the data table containing the list of products based on the arguments supplied on construction.
The table returned includes the table headings, attributes and data.
If the output is 'object' the returned object is an Html_Data_Table instance. If the output is 'html', the table returned will be a string containing the