Automattic\WooCommerce\Admin\Notes
Note::get_data()
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() Note::get data WC 9.6.1
public function get_data() { return array_merge( array( 'id' => $this->get_id() ), $this->data ); }