wp_get_media_creation_timestamp
wp_get_media_creation_timestamp ( $metadata )
Parameters:- (array) metadata The metadata returned by getID3::analyze().
Links:Returns:- (int|false) A UNIX timestamp for the media's creation date if available or a boolean FALSE if a timestamp could not be determined.
Defined at: - Introduced in WordPress: 4.9.0
- Deprecated in WordPress: —
Description
Parses creation date from media metadata.The getID3 library doesn't have a standard method for getting creation dates,
so the location of this data can vary based on the MIME type.