wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



embed_cache_oembed_types › WordPress Filter Hooks

Da2.9.0
Deprecaton/a
apply_filters( 'embed_cache_oembed_types', $post_types )
Parametri:
  • (string[]) $post_types Array of post type names to cache oEmbed results for. Defaults to post types with `show_ui` set to true.
    Richiesto:
Definito a:
Codex:

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





Sorgenti

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