A WordPress-centric search engine for devs and theme authors



wp_audio_shortcode_override ›

Since3.6.0
Deprecatedn/a
apply_filters( 'wp_audio_shortcode_override', '', $attr, $content, $instance )
Parameters: (4)
  • (string) $html Empty variable to be replaced with shortcode markup.
    Required: Yes
  • (array) $attr Attributes of the shortcode. @see wp_audio_shortcode()
    Required: Yes
  • (string) $content Shortcode content.
    Required: Yes
  • (int) $instance Unique numeric ID of this audio shortcode instance.
    Required: Yes
Defined at:
Codex:

Filters the default audio shortcode output.

If the filtered output isn't empty, it will be used instead of generating the default audio template.





Source

$override = apply_filters( 'wp_audio_shortcode_override', '', $attr, $content, $instance );