wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_video_shortcode_override › Les Filtres WordPress

Depuis3.6.0
Dépréciéen/a
› apply_filters( 'wp_video_shortcode_override', '', $attr, $content, $instance )
Paramètres: (4)
  • () html Empty variable to be replaced with shortcode markup.
    Requis: Oui
  • () attr Attributes of the shortcode. See {@see \wp_video_shortcode()}.
    Requis: Oui
  • () content Video shortcode content.
    Requis: Oui
  • () instance Unique numeric ID of this video shortcode instance.
    Requis: Oui
Voir:
  • wp_video_shortcode()
Défini(e) dans:
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.




Source

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