Skip to content

Commit

Permalink
add back comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseeproductions committed Jan 14, 2022
1 parent 9d8ae26 commit 553b6f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Pngx/Duplicate/Post_Types.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public function duplicate( $post_type ) {
wp_set_object_terms( $new_post_id, $post_terms, $taxonomy, false );
}

// Duplicate Custom Fields
$coupon_post_field_keys = get_post_custom_keys( $post_id );
foreach ( $coupon_post_field_keys as $meta_name ) {
$meta_value = get_post_meta( $post_id, $meta_name, true );
Expand Down

0 comments on commit 553b6f7

Please sign in to comment.