A version of wp_oembed_get() that provides caching.

Note that if you’re using this within the contents of a post, it’s probably better to use the existing WordPress functionality: http://codex.wordpress.org/Embeds. This helper function is more meant for other places, such as sidebars.


Name Type Description
$url string The URL that should be embedded
$args array Addtional arguments and parameters the embed

Return Value


Ready to get started?

Tell us about your needs

Let us lead the way. We’ll help you select a top tier development partner. We’ll train your developers, operations, infrastructure, and editorial teams. We’ll coarchitect your deployment processes. We will provide live support for peak events. We’ll help your people avoid dark alleys and blind corners, and reduce wasted cycles.