Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    If you’ve created a post type with CPTUI, and then added a number of posts, you’ll need to either delete the posts first, or perhaps switch them to a different post type, before deleting the post type in CPTUI.

    If you’ve already deleted the post type in CPTUI, and want to remove the posts as well, you’ll need to re-register the same post type slug long enough to get to the posts list and delete there.

    We don’t delete content itself with CPTUI, and leave that up to the user.

    I have followed this process but still can’t seem to be able to delete my custom post type “meeting”

    Though the CPT still exists, I can’t “import” it either. Any other tips? I didn’t use any spaces in the slug.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Are you trying to delete posts from the “meeting” post type? or the post type itself?

    What errors, if any are you seeing when you try to delete it? Is it still showing up in the “Registered Types and Taxes” area?

    I’m trying to delete the entire post type. I only know that it still exists because the “meeting records” (slug: meeting) is still in my admin panel.

    I actually don’t get any errors. I have deleted all posts within the post type, I’ve deleted the taxonomy. It’s successfully removed entirely from CPT UI without any error messages at all. Only problem is, it isn’t really gone. It is still there in the admin menu, and the slug is still in use.

    I then try to recreate the post type, and delete it again… same problem. Everything works “fine” (aka no error messages) but nothing actually happens.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Is it possible that it’s being registered elsewhere in the website? Like via functions.php? If it’s been removed from CPTUI and it’s no longer showing up in our plugin pages, then it’s been removed from the settings we store, but doesn’t mean it couldn’t be getting added elsewhere.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Delete custom post type from DB’ is closed to new replies.