WordPress at Your Fingertips
function is not described

WC_Data_Store_WP::get_primary_key_for_lookup_table() protected WC 3.6.0

Get primary key name for lookup table.

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

Code of WC_Data_Store_WP::get_primary_key_for_lookup_table() WC 5.8.0

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