• Hi! Thanks for working on this plugin, it’s a must for our project.

    Would you be willing to add an action hook after the meta fields for the post are copied over and before the user is redirected? This would give the opportunity to further manipulate the duplicated post before the user sees it.

    Something like this around line 285 of duplicate-wp-page-post.php:

    
    ...
    $wpdb->query($sql_query);
    
    }
    
    do_action( 'dt_dpp_after_duplicate', $post_id, $new_post_id );
    
    /*choice redirect */
    ...
    
  • The topic ‘Add hook after meta fields are copied’ is closed to new replies.