wphooks.info - wp_embed_handler_audio

wp_embed_handler_audio

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/embed.php:
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
	/**
	 * Filters the audio embed output.
	 *
	 * @since 3.6.0
	 *
	 * @param string $audio   Audio 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_audio', $audio, $attr, $url, $rawattr );
}

/**
 * Video 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.