Created
May 18, 2025 05:01
-
-
Save loorlab/a808d1a8e8f69e066850713ccb88b305 to your computer and use it in GitHub Desktop.
Transients to CSV - WP CLI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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