$cache_oembed_types =
apply_filters( 'embed_cache_oembed_types',
$post_types );
if ( empty( $post->ID
) || !
in_array( $post->post_type,
$cache_oembed_types, true
) ) { return;
} // Trigger a caching.
if ( !
empty( $post->post_content
) ) { $this->post_ID =
$post->ID;
$this->usecache = false;
$content =
$this->
run_shortcode( $post->post_content
);
$this->
autoembed( $content );
$this->usecache = true;
} } /**
* Passes any unlinked URLs that are on their own line to WP_Embed::shortcode() for potential embedding.
*
* @see WP_Embed::autoembed_callback()
*
* @param string $content The content to be searched.
* @return string Potentially modified $content.
*/