• Resolved TinkerWorkshop

    (@tinkerworkshop)


    Sorry if I am repeating other mates, but I can not find this in the documentation, forums or Google.

    Everyone is talking about how to add custom post type, but how do I remove them?

    I am building a plugin and would like to remove custom post type when/if plugin is deactivated and/or removed to keep my code clean and tidy.
    I am sure there are mates who would appreciate me not clogging their databases.

    Cheers.
    ~Wulf

Viewing 1 replies (of 1 total)
  • Thread Starter TinkerWorkshop

    (@tinkerworkshop)

    Nevermind. Did not understand this functionality properly.
    The type is not really “added” permanently. It is instead added on the fly and should be referenced with an init hook every time.

Viewing 1 replies (of 1 total)

The topic ‘Removing Custom Post Type’ is closed to new replies.