1. Home
  2. Wp-cli
  3. List all post meta

Use post ID to return all related meta data. By default it returns data as a table but other formats are available, for example you can use this flag --format=json to get data as json.

#wordpress#cli
wp post meta list <ID>
copy
Full Wp-cli cheatsheet