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



wp_audio_shortcode_override › WordPress Filter Hooks

Seit3.6.0
Veraltetn/v
apply_filters( 'wp_audio_shortcode_override', '', $attr, $content, $instance )
Parameter: (4)
  • () html Empty variable to be replaced with shortcode markup.
    Erforderlich: Ja
  • () attr Attributes of the shortcode. See {@see \wp_audio_shortcode()}.
    Erforderlich: Ja
  • () content Shortcode content.
    Erforderlich: Ja
  • () instance Unique numeric ID of this audio shortcode instance.
    Erforderlich: Ja
Definiert in:
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.




Quellcode

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