Last active
June 19, 2018 14:05
-
-
Save twentyfortysix/488bb408317ba4ab6ea236f797897cda to your computer and use it in GitHub Desktop.
wp-cli - bulk update meta
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
// erase post meta | |
for id in $(wp post list –post_type=’locations’ –format=ids); do wp post meta update $id print_textarea ''; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment