WordPress at Your Fingertips
function is not described

WC_Data_Store_WP::get_data_for_lookup_table() protected WC 3.6.0

Get data to save to a lookup table.

{} It's a 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.

Code of WC_Data_Store_WP::get_data_for_lookup_table() WC 5.8.0

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