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



wp_video_shortcode_override › WordPress Filter Hooks

Seit3.6.0
Veraltetn/v
apply_filters( 'wp_video_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_video_shortcode()}.
    Erforderlich: Ja
  • () content Video shortcode content.
    Erforderlich: Ja
  • () instance Unique numeric ID of this video shortcode instance.
    Erforderlich: Ja
Siehe:
  • wp_video_shortcode()
Definiert in:
Codex:

Filters the default video shortcode output.

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




Quellcode

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