wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_video_shortcode_override › Filtr WordPress Hooks

Od3.6.0
Przestarzałyn/a
› apply_filters( 'wp_video_shortcode_override', '', $attr, $content, $instance )
Parametry: (4)
  • () html Empty variable to be replaced with shortcode markup.
    Wymagane: Tak
  • () attr Attributes of the shortcode. See {@see \wp_video_shortcode()}.
    Wymagane: Tak
  • () content Video shortcode content.
    Wymagane: Tak
  • () instance Unique numeric ID of this video shortcode instance.
    Wymagane: Tak
Zobacz:
  • wp_video_shortcode()
Zdefiniowane na:
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.




Źródło

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