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.

Метод класса: Note{}

Хуков нет.

Возвращает

Массив.

Использование

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

Код Note::get_data() WC 8.6.1

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