WC_Data_Store_WP::get_primary_key_for_lookup_table()protectedWC 3.6.0

Get primary key name for lookup table.

Method of the class: WC_Data_Store_WP{}

No Hooks.

Return

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_primary_key_for_lookup_table( $table );
$table(string) (required)
Lookup table name.

Changelog

Since 3.6.0 Introduced.

WC_Data_Store_WP::get_primary_key_for_lookup_table() code WC 9.4.2

protected function get_primary_key_for_lookup_table( $table ) {
	return '';
}