Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_video_shortcode_override ›

Da3.6.0
Deprecaton/a
apply_filters( 'wp_video_shortcode_override', '', $attr, $content, $instance )
Parametri: (4)
  • (string) $html Empty variable to be replaced with shortcode markup.
    Richiesto:
  • (array) $attr Attributes of the shortcode. @see wp_video_shortcode()
    Richiesto:
  • (string) $content Video shortcode content.
    Richiesto:
  • (int) $instance Unique numeric ID of this video shortcode instance.
    Richiesto:
Vedi:
  • wp_video_shortcode()
Definito a:
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.





Sorgenti

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