https://github.com/beapi/wp-cli-wpforms-entry-expiration
https://github.com/beapi/wp-cli-wpforms-entry-expiration
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/beapi/wp-cli-wpforms-entry-expiration
- Owner: BeAPI
- License: mit
- Created: 2024-10-08T16:13:01.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-16T15:57:12.000Z (about 1 year ago)
- Last Synced: 2025-03-28T07:51:31.856Z (9 months ago)
- Language: PHP
- Size: 6.84 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# wp-cli-wpforms-entry-expiration
WP-CLI command to clean wpforms entries, by setting a conservation time limit, before which entries will be deleted.
## Installing
Installing this package requires WP-CLI v0.23.0 or greater. Update to the latest stable release with `wp cli update`.
Once you've done so, you can install this package with `wp package install BeAPI/wp-cli-wpforms-entry-expiration`
## Usage
`wp clean-wpforms-entries {time}`
Time value must be without spaces.
Exemple :
`wp clean-wpforms-entries 6months`
Optional parameters :
`--dry-run`
## Credits
Be API