Created
February 18, 2019 14:28
-
-
Save twentyfortysix/a395b2ea4e4b3ecc4e63a56c04998959 to your computer and use it in GitHub Desktop.
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
for POST in $(wp post list --post_type=locations --meta_key=page_subtype --meta_value=event --format=ids); do wp post update $POST --post_status=draft; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment