Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_video_shortcode_override ›

Desde3.6.0
Obsoleton/a
apply_filters( 'wp_video_shortcode_override', '', $attr, $content, $instance )
Parâmetros: (4)
  • (string) $html Empty variable to be replaced with shortcode markup.
    Required: Yes
  • (array) $attr Attributes of the shortcode. @see wp_video_shortcode()
    Required: Yes
  • (string) $content Video shortcode content.
    Required: Yes
  • (int) $instance Unique numeric ID of this video shortcode instance.
    Required: Yes
Ver:
  • wp_video_shortcode()
Definido em:
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.





Fonte

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