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



wp_audio_shortcode ›

Since3.6.0
已弃用n/a
apply_filters( 'wp_audio_shortcode', $html, $atts, $audio, $post_id, $library )
参数: (5)
  • (string) $html Audio shortcode HTML output.
    Required: Yes
  • (array) $atts Array of audio shortcode attributes.
    Required: Yes
  • (string) $audio Audio file.
    Required: Yes
  • (int) $post_id Post ID.
    Required: Yes
  • (string) $library Media library used for the audio shortcode.
    Required: Yes
定义在:
文档:

Filters the audio shortcode output.





源码

return apply_filters( 'wp_audio_shortcode', $html, $atts, $audio, $post_id, $library );