Core Function
View Source on Trac ↗ wp_maybe_enqueue_oembed_host_js()
wp_maybe_enqueue_oembed_host_js( mixed $html ) Enqueue the wp-embed script if the provided oEmbed HTML contains a post embed.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $html string | Embed markup. Required |
Return Value
(string)
Embed markup (without modifications).
Function Information
Since Version
5.9.0
Source File
wp-includes/embed.php
Advertisement