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

Glossary Term

wp_filter_oembed_result()

3 tags 1 category

wp_filter_oembed_result() — Filters the given oEmbed HTML. If the $url isn’t on the trusted providers list, we need to filter the HTML heavily for security. Only filters ‘rich’ and ‘video’ response types.

Inputs: $result (string|false): The oEmbed HTML result. $data (object): A data object result from an oEmbed provider. $url (string): The URL of the content to be embedded.

Returns string|false: The filtered and sanitized oEmbed result.

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…