A WordPress-centric search engine for devs and theme authors



wp_read_video_metadata ›

Since4.9.0
Deprecatedn/a
apply_filters( 'wp_read_video_metadata', $metadata, $file, $file_format, $data )
Parameters: (4)
  • (array) $metadata Filtered Video metadata.
    Required: Yes
  • (string) $file Path to video file.
    Required: Yes
  • (string) $file_format File format of video, as analyzed by getID3.
    Required: Yes
  • (string) $data Raw metadata from getID3.
    Required: Yes
Defined at:
Codex:

Filters the array of metadata retrieved from a video.

In core, usually this selection is what is stored. More complete data can be parsed from the $data parameter.





Source

return apply_filters( 'wp_read_video_metadata', $metadata, $file, $file_format, $data );