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:

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.

Related Functions

get_media_item, get_post_timestamp, get_media_items, wp_ajax_media_create_image_subsizes, wp_kses_named_entities

Top Google Results

User discussions

wpseek mobile