WordPress at Your Fingertips
function is not described

WC_Data::get_data_keys() public WC 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 5.8.0

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