wp embed cache find <url>
Finds an oEmbed cache post ID for a given URL
Arguments
Name | Description |
---|
url | ID of the post to clear the cache for |
Options
Name | Description |
---|
--width <width> | Width of the embed in pixels. Part of cache key so must match. Defaults to content_width if set else 500px, so is theme and context dependent |
--height <height> | Height of the embed in pixels. Part of cache key so must match. Defaults to 1.5 * default width (content_width or 500px), to a maximum of 1000px |
--discover | Whether to search with the discover attribute set or not. Part of cache key so must match. If not given, will search with attribute: unset, ‘1’, ‘0’, returning first |