Created
April 24, 2018 03:29
-
-
Save davemac/4f9c6dc52fb53fe2cebdd0fcc2f8e5a1 to your computer and use it in GitHub Desktop.
wp-cli list the page templates used in a site
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
wp post list --post_type=page --fields=ID --format=csv | xargs -I % wp post meta get % _wp_page_template |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment