My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Create WordPress custom post type with its own table?

Manoj H L's photo
Manoj H L
·Feb 6, 2018

I'm familiar with creating custom post types using WordPress API which uses default wp_posts table to store the data. What I'm trying to achieve is to create a new table, a clone of wp_posts table with additional columns required for my custom post type which works with WordPress APIs and other features like revisions, scheduling, etc