wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wp-includes/embed.php › WordPress File
Funktionen38
› oEmbed API: Top-level oEmbed functionality
Funktion | Kurzbeschreibung |
---|---|
enqueue_embed_scripts | Enqueues embed iframe default CSS and JS. |
get_oembed_endpoint_url | Retrieves the oEmbed endpoint URL for a given permalink. |
get_oembed_response_data | Retrieves the oEmbed response data for a given post. |
get_oembed_response_data_for_url | Retrieves the oEmbed response data for a given URL. |
get_oembed_response_data_rich | Filters the oEmbed response data to return an iframe embed code. |
get_post_embed_html | Retrieves the embed code for a specific post. |
get_post_embed_url | Retrieves the URL to embed a specific post in an iframe. |
print_embed_comments_button | Prints the necessary markup for the embed comments button. |
print_embed_scripts | Prints the JavaScript in the embed iframe header. |
print_embed_sharing_button | Prints the necessary markup for the embed sharing button. |
print_embed_sharing_dialog | Prints the necessary markup for the embed sharing dialog. |
the_embed_site_title | Prints the necessary markup for the site title in an embed template. |
the_excerpt_embed | Displays the post excerpt for the embed template. |
wp_embed_defaults | Creates default array of embed parameters. |
wp_embed_excerpt_attachment | Filters the post excerpt for the embed template. |
wp_embed_excerpt_more | Filters the string in the 'more' link displayed after a trimmed excerpt. |
wp_embed_handler_audio | Audio embed handler callback. |
wp_embed_handler_video | Video embed handler callback. |
wp_embed_handler_youtube | YouTube iframe embed handler callback. |
wp_embed_register_handler | Registers an embed handler. |
wp_embed_unregister_handler | Unregisters a previously-registered embed handler. |
wp_enqueue_embed_styles | Enqueues the CSS in the embed iframe header. |
wp_filter_oembed_iframe_title_attribute | Filters the given oEmbed HTML to make sure iframes have a title attribute. |
wp_filter_oembed_result | Filters the given oEmbed HTML. |
wp_filter_pre_oembed_result | Filters the oEmbed result before any HTTP requests are made. |
wp_maybe_enqueue_oembed_host_js | Enqueue the wp-embed script if the provided oEmbed HTML contains a post embed. |
wp_maybe_load_embeds | Determines if default embed handlers should be loaded. |
wp_oembed_add_discovery_links | Adds oEmbed discovery links in the head element of the website. |
wp_oembed_add_host_js | Adds the necessary JavaScript to communicate with the embedded iframes. |
wp_oembed_add_provider | Adds a URL format and oEmbed provider URL pair. |
wp_oembed_ensure_format | Ensures that the specified format is either 'json' or 'xml'. |
wp_oembed_get | Attempts to fetch the embed HTML for a provided URL using oEmbed. |
wp_oembed_register_route | Registers the oEmbed REST API route. |
wp_oembed_remove_provider | Removes an oEmbed provider. |
_oembed_create_xml | Creates an XML string from a given array. |
_oembed_filter_feed_content | Prepare the oembed HTML to be displayed in an RSS feed. |
_oembed_rest_pre_serve_request | Hooks into the REST API output to print XML instead of JSON. |
_wp_oembed_get_object | Returns the initialized WP_oEmbed object. |