Created
July 23, 2021 19:10
-
-
Save lukecav/8b5c5752fb1caac20040f8aa56cc2973 to your computer and use it in GitHub Desktop.
WP-CLI commands to check if temp directory constants exists and then to delete it
This file contains 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
wp config has WP_TEMP_DIR | |
wp config delete WP_TEMP_DIR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://developer.wordpress.org/cli/commands/config/has/
https://developer.wordpress.org/cli/commands/config/delete/