WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes

Note::get_data() public WC 1.0

Returns all data for this object.

Override \WC_Data::get_data() to avoid errantly including meta data from ID collisions with the posts table.

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

No Hooks.

Return

Array. Nothing.

Usage

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

Code of Note::get_data() WC 5.3.0

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