Skip to content

Instantly share code, notes, and snippets.

@loorlab
Created May 18, 2025 05:01
Show Gist options
  • Save loorlab/a808d1a8e8f69e066850713ccb88b305 to your computer and use it in GitHub Desktop.
Save loorlab/a808d1a8e8f69e066850713ccb88b305 to your computer and use it in GitHub Desktop.
Transients to CSV - WP CLI
# Exportar todos los transients a CSV
wp transient list --format=json | jq -r 'map([.name, .expiration]) | map(join(",")) | .[]' > transients_export.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment