Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_read_video_metadata ›

Seit4.9.0
Veraltetn/v
apply_filters( 'wp_read_video_metadata', $metadata, $file, $file_format, $data )
Parameter: (4)
  • (array) $metadata Filtered Video metadata.
    Erforderlich: Ja
  • (string) $file Path to video file.
    Erforderlich: Ja
  • (string) $file_format File format of video, as analyzed by getID3.
    Erforderlich: Ja
  • (string) $data Raw metadata from getID3.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

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