WC_Meta_Data::get_changes()
Return data changes only.
Description Description
Return Return
(array)
Source Source
File: includes/class-wc-meta-data.php
public function get_changes() { $changes = array(); foreach ( $this->current_data as $id => $value ) { if ( ! array_key_exists( $id, $this->data ) || $value !== $this->data[ $id ] ) { $changes[ $id ] = $value; } } return $changes; }