handbook/commands/embed/cache.md
2024-08-08 03:57:27 +02:00

19 lines
407 B
Markdown

# 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!