wphooks.info - wp_embed_handler_youtube

wp_embed_handler_youtube

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/embed.php:
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
	 *
	 * @since 4.0.0
	 *
	 * @see wp_embed_handler_youtube()
	 *
	 * @param string $embed   YouTube embed output.
	 * @param array  $attr    An array of embed attributes.
	 * @param string $url     The original URL that was matched by the regex.
	 * @param array  $rawattr The original unmodified attributes.
	 */
	return apply_filters( 'wp_embed_handler_youtube', $embed, $attr, $url, $rawattr );
}

/**
 * Audio embed handler callback.
 *
 * @since 3.6.0
 *
 * @param array  $matches The RegEx matches from the provided regex when calling wp_embed_register_handler().
 * @param array  $attr Embed attributes.