WC_Data::get_data_keys()publicWC 3.0.0

Returns array of expected data keys for this object.

{} It's a method of the class: WC_Data{}

No Hooks.

Return

Array.

Usage

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

Changelog

Since 3.0.0 Introduced.

Code of WC_Data::get_data_keys() WC 6.8.2

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