WC_Data_Store_WP::get_data_for_lookup_table()protectedWC 3.6.0

Get data to save to a lookup table.

Method of the class: WC_Data_Store_WP{}

No Hooks.

Return

Array.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_data_for_lookup_table( $id, $table );
$id(int) (required)
ID of object to update.
$table(string) (required)
Lookup table name.

Changelog

Since 3.6.0 Introduced.

WC_Data_Store_WP::get_data_for_lookup_table() code WC 9.4.2

protected function get_data_for_lookup_table( $id, $table ) {
	return array();
}