wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_read_audio_metadata › WordPress过滤钩子

Since6.1.0
已弃用n/a
› apply_filters( 'wp_read_audio_metadata', $metadata, $file, $file_format, $data )
参数: (4)
  • () metadata Filtered audio metadata.
    Required: Yes
  • () file Path to audio file.
    Required: Yes
  • () file_format File format of audio, as analyzed by getID3. Null if unknown.
    Required: Yes
  • () data Raw metadata from getID3.
    Required: Yes
定义在:
文档:

Filters the array of metadata retrieved from an audio file.

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




源码

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