WC_Data::get_data()

Returns all data for this object.


Description Description


Return Return

(array)


Top ↑

Source Source

File: includes/abstracts/abstract-wc-data.php

	public function get_data() {
		return array_merge( array( 'id' => $this->get_id() ), $this->data, array( 'meta_data' => $this->get_meta_data() ) );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.