Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

wp_oembed_get()

3 tags 1 category

wp_oembed_get() — Attempts to fetch the embed HTML for a provided URL using oEmbed.

Inputs: $url (string): The URL that should be embedded. $args (array|string): Optional. Additional arguments for retrieving embed HTML. Default empty. Field $width (int|string): Optional. The maxwidth value passed to the provider URL. Field $height (int|string): Optional. The maxheight value passed to the provider URL. Field $discover (bool): Optional. Determines whether to attempt to discover link tags at the given URL for an oEmbed provider when the provider URL is not found in the built-in providers list. Default true.

Returns string|false: The embed HTML on success, false on failure.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…