1. Home
  2. Wp-cli
  3. List custom post type

Returns a table of custom posts with a type specified using the --post_type flag.

#wordpress#cli
wp post list --post_type=movie
copy
Full Wp-cli cheatsheet