Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/class-wp-embed.php | apply_filters | 414 | /** * Filters the array of post types to cache oEmbed results for. * * @since 2.9.0 * * @param string[] $post_types Array of post type names to cache oEmbed results for. Defaults to post types with `show_ui` set to true. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string[] | $post_types | Array of post type names to cache oEmbed results for. Defaults to post types with `show_ui` set to true. |