In this article

filter

instagram_cache_oembed_api_response_body

Filter Object Caching for response from Instagram.Allow enabling of object caching for the response sent by Instagram when querying for Instagram image HTML.

Parameters

false
bool

false Object caching is off by default.

$matches
array

Array of Instagram URLs found in the post.

$atts
array

Instagram Shortcode attributes.

$passed_url
string

Instagram API URL.

Changelog

How to use this hook

See “How to use actions and filters to customize Jetpack”.