wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wp_maybe_enqueue_oembed_host_js › WordPress Function
Seit5.9.0
Veraltetn/v
› wp_maybe_enqueue_oembed_host_js ( $html )
Parameter: |
|
Gibt zurück: |
|
Definiert in: |
|
Codex: |
Enqueue the wp-embed script if the provided oEmbed HTML contains a post embed.
In order to only enqueue the wp-embed script on pages that actually contain post embeds, this function checks if the provided HTML contains post embed markup and if so enqueues the script so that it will get printed in the footer.Ähnliche Funktionen: wp_enqueue_embed_styles, wp_enqueue_stored_styles, enqueue_embed_scripts, wp_oembed_add_host_js, enqueue_comment_hotkeys_js