wp_embed_handler_youtube
wp_embed_handler_youtube ( $matches, $attr, $url, $rawattr )
Parameters:- (array) matches The RegEx matches from the provided regex when calling wp_embed_register_handler().
- (array) attr Embed attributes.
- (string) url The original URL that was matched by the regex.
- (array) rawattr The original unmodified attributes.
Returns:Defined at: - Introduced in WordPress: 4.0.0
- Deprecated in WordPress: —
Description
YouTube iframe embed handler callback.Catches YouTube iframe embed URLs that are not parsable by oEmbed but can be translated into a URL that is.