wp embed cache find <url>

Finds an oEmbed cache post ID for a given URL

Arguments

NameDescription
urlID of the post to clear the cache for

Options

NameDescription
--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
--discoverWhether 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