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)
  • (string) $embed YouTube embed output.
    Required: Yes
  • (array) $attr An array of embed attributes.
    Required: Yes
  • (string) $url The original URL that was matched by the regex.
    Required: Yes
  • (array) $rawattr The original unmodified attributes.
    Required: Yes
Defined at:
Codex:

Filters the YouTube embed output.





Source

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