Automattic\WooCommerce\Admin\Notes

Note::get_data()publicWC 1.0

Returns all data for this object.

Override [WC_Data::get_data()](/plugin/woocommerce/function/WC_Data::get_data) to avoid errantly including meta data from ID collisions with the posts table.

Method of the class: Note{}

No Hooks.

Return

Array.

Usage

$Note = new Note();
$Note->get_data();

Note::get_data() code WC 7.1.0

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