apply_filters( 'embed_cache_oembed_types', string[] $post_types )

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


Parameters Parameters

$post_types

(string[]) Array of post type names to cache oEmbed results for. Defaults to post types with show_ui set to true.


Top ↑

Source Source

File: wp-includes/class-wp-embed.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.