Sign in
Log inSign up

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

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct