Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



embed_cache_oembed_types ›

Seit2.9.0
Veraltetn/v
apply_filters( 'embed_cache_oembed_types', $post_types )
Parameter:
  • (string[]) $post_types Array of post type names to cache oEmbed results for. Defaults to post types with `show_ui` set to true.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the array of post types to cache oEmbed results for.





Quellcode

$cache_oembed_types = apply_filters( 'embed_cache_oembed_types', $post_types );