WordPress at Your Fingertips
function is not described

WC_Data::get_extra_data_keys() public WC 3.0.0

Returns all "extra" data keys for an object (for sub objects like product types).

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

No Hooks.

Return

Array.

Usage

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

Changelog

Since 3.0.0 Introduced.

Code of WC_Data::get_extra_data_keys() WC 5.8.0

public function get_extra_data_keys() {
	return array_keys( $this->extra_data );
}