'How to find if an image has been edited in WordPress

Is it a good idea to use

$backup_sizes = get_post_meta($attachment->ID, '_wp_attachment_backup_sizes', true);

to find if an image has been edited? Because WordPress creates a new record as postmeta.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source