WordPress comes with some default post type. Those are reserved in WordPress. You can create your own post type. Creating a post type in WordPress is nothing but a simple block of code. You just need to define your post type name and some array or string of arguments to register custom post type.
As a WordPress developer, its very rare that you don’t know what is custom post type or post type. During WordPress theme or plugin development, sometimes it’s needed to check the slug of a registered post type or taxonomy slug of a taxonomy. Here is a quick way, how you can check what is the… Continue reading How to get post type object