title: Get all post IDs in Wordpress
body: <p>Is it possible to get an array of all post IDs currently present in the wordpress DB (irrespective of post_types)?
  Also, is it possible to get an array of all post IDs of a specific post_type?</p>
  
  <p>If we can, how to achieve that?</p>