wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_embed_handler_youtube › WordPress Filter Hooks

Since4.0.0
Deprecatedn/a
apply_filters( 'wp_embed_handler_youtube', $embed, $attr, $url, $rawattr )
Parameters: (4)
  • () embed YouTube embed output.
    Required: Yes
  • () attr An array of embed attributes.
    Required: Yes
  • () url The original URL that was matched by the regex.
    Required: Yes
  • () rawattr The original unmodified attributes.
    Required: Yes
See:
  • wp_embed_handler_youtube()
Defined at:
Codex:

Filters the YouTube embed output.





Source

return apply_filters( 'wp_embed_handler_youtube', $embed, $attr, $url, $rawattr );