Title: Execute function after Duplicate Page
Last modified: September 21, 2021

---

# Execute function after Duplicate Page

 *  Resolved [waffeltje](https://wordpress.org/support/users/waffeltje/)
 * (@waffeltje)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/execute-function-after-duplicate-page/)
 * Good evening,
 * Each time the function dt_duplicate_post_as_draft is executed, I want to run 
   my own function which changes the post slug into my desired format. How can I
   automatically run my function after a post has been duplicated? Is there a hook
   or any other option which can be used?
 * Thanks in advance.
    -  This topic was modified 4 years, 8 months ago by [waffeltje](https://wordpress.org/support/users/waffeltje/).

Viewing 1 replies (of 1 total)

 *  [duplicatepagesupport](https://wordpress.org/support/users/duplicatepagesupport/)
 * (@duplicatepagesupport)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/execute-function-after-duplicate-page/#post-14911132)
 * Hey [@waffeltje](https://wordpress.org/support/users/waffeltje/),
 * We would request you to please send us a support ticket by using this link: [https://duplicatepro.com/contact/](https://duplicatepro.com/contact/)?
 * Once we will get your ticket our support team will be able to help you.
 * Kind Regards,

Viewing 1 replies (of 1 total)

The topic ‘Execute function after Duplicate Page’ is closed to new replies.

 * ![](https://ps.w.org/duplicate-page/assets/icon-128x128.jpg?rev=1412874)
 * [Duplicate Page](https://wordpress.org/plugins/duplicate-page/)
 * [Support Threads](https://wordpress.org/support/plugin/duplicate-page/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicate-page/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicate-page/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicate-page/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [duplicatepagesupport](https://wordpress.org/support/users/duplicatepagesupport/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/execute-function-after-duplicate-page/#post-14911132)
 * Status: resolved