There will be times when you need to grab all the registered post types. Using the WordPress construct
get_post_types(), you can specify what you want. For example, you fetch all of the custom post types, built-in ones, or all of them. In this episode, you’ll work with this instruction and go into WordPress core to see what it does for you.
There’s a time to code and …. yup, that sums it up.
Total Lab Runtime: 00:49:58