Skip to content

Instantly share code, notes, and snippets.

@mustardBees mustardBees/

Created May 11, 2020
What would you like to do?
WordPress clear oEmbed cache (YouTube etc.) for all posts/pages using WP-CLI
wp post list --post_type=post,page --field=ID | xargs -n1 -I % wp embed cache clear %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.