Created
May 23, 2016 19:18
-
-
Save JudeRosario/45bdc1f9e917de682daf1b0aba5c3297 to your computer and use it in GitHub Desktop.
SBE Hotfix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'dp_duplicate_post', 'delete_sbe_meta_on_duplicate_post'); | |
function delete_sbe_meta_on_duplicate_post( $new_post_id ) { | |
delete_post_meta( $new_post_id, 'sbe_sent' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment