Title: Doing stuff when post_type has changed
Last modified: August 18, 2020

---

# Doing stuff when post_type has changed

 *  [eiernacken](https://wordpress.org/support/users/eiernacken/)
 * (@eiernacken)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/doing-stuff-when-post_type-has-changed/)
 * Hi,
    first of all thanks for the plugin.
 * I want to create a childpost when post_type changes into a specific type.
    Where
   to hook in here?
 * Thanks

The topic ‘Doing stuff when post_type has changed’ is closed to new replies.

 * ![](https://ps.w.org/post-type-switcher/assets/icon-256x256.jpg?rev=1823578)
 * [Post Type Switcher](https://wordpress.org/plugins/post-type-switcher/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-type-switcher/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-type-switcher/)
 * [Active Topics](https://wordpress.org/support/plugin/post-type-switcher/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-type-switcher/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-type-switcher/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [eiernacken](https://wordpress.org/support/users/eiernacken/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/doing-stuff-when-post_type-has-changed/)
 * Status: not resolved