WC_Data::get_data_keyspublicWC 3.0.0

Returns array of expected data keys for this object.

Method of the class: WC_Data{}

No Hooks.

Returns

Array.

Usage

$WC_Data = new WC_Data();
$WC_Data->get_data_keys();

Changelog

Since 3.0.0 Introduced.

WC_Data::get_data_keys() code WC 10.6.2

public function get_data_keys() {
	return array_keys( $this->data );
}