Core Function
View Source on Trac ↗ wp_filter_oembed_result()
wp_filter_oembed_result( mixed $result, mixed $data, mixed $url ) Filters the given oEmbed HTML.
Parameters 3 required
| Name / Type | Description |
|---|---|
| $result string | The oEmbed HTML result. Required |
| $data object | A data object result from an oEmbed provider. Required |
| $url string | The URL of the content to be embedded. Required |
Return Value
(string)
The filtered and sanitized oEmbed result.
Function Information
Since Version
4.4.0
Source File
wp-includes/embed.php
Advertisement