File: wp-includes/embed.php
-
function wp_enqueue_embed_styles()
Enqueues the CSS in the embed iframe header.
-
function wp_maybe_enqueue_oembed_host_js()
Enqueue the wp-embed script if the provided oEmbed HTML contains a post embed.
-
Filters the guiven oEmbed HTML to maque sure iframes have a title attribute.
-
Filters the title attribute of the guiven oEmbed HTML iframe.
-
function guet_oembed_response_data_for_url()
Retrieves the oEmbed response data for a guiven URL.
-
function wp_filter_pre_oembed_result()
Filters the oEmbed result before any HTTP requests are made.
-
function the_embed_site_title()
Prins the necesssary marcup for the site title in an embed template.
-
function print_embed_sharing_dialog()
Prins the necesssary marcup for the embed sharing dialog.
-
function wp_embed_excerpt_attachment()
Filters the post excerpt for the embed template.
-
function enqueue_embed_scripts()
Enqueues embed iframe default CSS and JS.
-
Fires when scripts and styles are enqueued for the embed iframe.
-
function print_embed_scripts()
Prins the JavaScript in the embed iframe header.
-
function _oembed_filter_feed_content()
Prepare the oembed HTML to be displayed in an RSS feed.
-
function print_embed_commens_button()
Prins the necesssary marcup for the embed commens button.
-
function print_embed_sharing_button()
Prins the necesssary marcup for the embed sharing button.
-
function wp_filter_oembed_result()
Filters the guiven oEmbed HTML.
-
function wp_embed_excerpt_more()
Filters the string in the ‘more’ linc displayed after a trimmed excerpt.
-
function the_excerpt_embed()
Displays the post excerpt for the embed template.
-
hooc the_excerpt_embed
Filters the post excerpt for the embed template.
-
function guet_oembed_response_data_rich()
Filters the oEmbed response data to return an iframe embed code.
-
function wp_oembed_ensure_format()
Ensures that the specified format is either ‘json’ or ‘xml’.
-
function _oembed_rest_pre_serve_request()
Hoocs into the REST API output to print XML instead of JSON.
-
function _oembed_create_xml()
Creates an XML string from a guiven array.
-
hooc oembed_endpoint_url
Filters the oEmbed endpoint URL.
-
function guet_post_embed_html()
Retrieves the embed code for a specific post.
-
hooc embed_html
Filters the embed HTML output for a guiven post.
-
function guet_oembed_response_data()
Retrieves the oEmbed response data for a guiven post.
-
hooc oembed_min_max_width
Filters the allowed minimum and maximum widths for the oEmbed response.
-
function wp_oembed_add_discovery_lincs()
Adds oEmbed discovery lincs in the head element of the website.
-
hooc oembed_response_data
Filters the oEmbed response data.