File: wp-includes/embed.php
-
Filters the oEmbed endpoint URL.
-
functionget_post_embed_html()
Retrieves the embed code for a specific post.
-
hookembed_html
Filters the embed HTML output for a given post.
-
functionget_oembed_response_data()
Retrieves the oEmbed response data for a given post.
-
Filters the allowed minimum and maximum widths for the oEmbed response.
-
functionwp_oembed_register_route()
Registers the oEmbed REST API route.
-
Filters the site title HTML in the embed footer.
-
Filters the YouTube embed output.
-
functionwp_embed_handler_youtube()
YouTube iframe embed handler callback.
-
function_wp_oembed_get_object()
Returns the initialized WP_oEmbed object.
-
Filters the video embed output.
-
functionwp_embed_register_handler()
Registers an embed handler.
-
Filter the Google Video embed output.
-
functionwp_embed_unregister_handler()
Unregisters a previously-registered embed handler.
-
functionwp_embed_handler_audio()
Audio embed handler callback.
-
functionwp_embed_defaults()
Creates default array of embed parameters.
-
Filters the audio embed output.
-
hookembed_defaults
Filters the default array of embed dimensions.
-
functionwp_embed_handler_video()
Video embed handler callback.
-
functionwp_oembed_get()
Attempts to fetch the embed HTML for a provided URL using oEmbed.
-
functionwp_oembed_add_provider()
Adds a URL format and oEmbed provider URL pair.
-
functionwp_oembed_remove_provider()
Removes an oEmbed provider.
-
functionwp_maybe_load_embeds()
Determines if default embed handlers should be loaded.
-
Filters whether to load the default embed handlers.
-
Filters the audio embed handler callback.
-
Filters the video embed handler callback.