apply_filters( 'wp_video_embed_handler', callable $handler )

Filters the video embed handler callback.


Parameters

$handler callable
Video embed handler callback function.

Top ↑

Source

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

wp_embed_register_handler( 'video', '#^https?://.+?\.(' . implode( '|', wp_get_video_extensions() ) . ')$#i', apply_filters( 'wp_video_embed_handler', 'wp_embed_handler_video' ), 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.