apply_filters( 'wp_audio_embed_handler', callable $handler )

Filters the audio embed handler callback.


Parameters

$handler callable
Audio embed handler callback function.

Top ↑

Source

File: wp-includes/embed.php. View all references

wp_embed_register_handler( 'audio', '#^https?://.+?\.(' . implode( '|', wp_get_audio_extensions() ) . ')$#i', apply_filters( 'wp_audio_embed_handler', 'wp_embed_handler_audio' ), 9999 );


Top ↑

Changelog

Changelog
Version Description
3.6.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.