mirror of
https://gh.wpcy.net/https://github.com/wp-cli/handbook.git
synced 2026-05-04 06:52:46 +08:00
407 B
407 B
wp embed cache
Finds, triggers, and deletes oEmbed caches.
EXAMPLES
# Find cache post ID for a given URL.
$ wp embed cache find https://www.youtube.com/watch?v=dQw4w9WgXcQ --width=500
123
# Clear cache for a post.
$ wp embed cache clear 123
Success: Cleared oEmbed cache.
# Triggers cache for a post.
$ wp embed cache trigger 456
Success: Caching triggered!