wp_get_media_creation_timestamp


wp_get_media_creation_timestamp ( $metadata )

Parameters:
  • (array) $metadata The metadata returned by getID3::analyze().
Links:
Returns:
  • (int|bool) A UNIX timestamp for the media's creation date if available or a boolean FALSE if a timestamp could not be determined.
Defined at:

Description

Parse 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.

Related Functions

get_media_item, get_media_items, wp_get_translation_updates, wp_kses_named_entities, wp_get_additional_image_sizes

Top Google Results

User discussions

wpseek mobile