wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



embed_cache_oembed_types › Les Filtres WordPress

Depuis2.9.0
Dépréciéen/a
apply_filters( 'embed_cache_oembed_types', $post_types )
Paramètres:
  • (string[]) $post_types Array of post type names to cache oEmbed results for. Defaults to post types with `show_ui` set to true.
    Requis: Oui
Défini(e) dans:
Codex:

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





Source

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