apply_filters( 'embed_cache_oembed_types', array $post_types )
Filters the array of post types to cache oEmbed results for.
Parameters
- $post_types
-
(array) Array of post types to cache oEmbed results for. Defaults to post types with
show_ui
set to true.
Source
Changelog
Version | Description |
---|---|
WP-2.9.0 | Introduced. |