A WordPress-centric search engine for devs and theme authors



wp_audio_shortcode ›

Since3.6.0
Deprecatedn/a
apply_filters( 'wp_audio_shortcode', $html, $atts, $audio, $post_id, $library )
Parameters: (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
Defined at:
Codex:

Filters the audio shortcode output.





Source

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