Last active
November 11, 2015 13:21
-
-
Save champsupertramp/6cbe54e0e5c34729ad7c to your computer and use it in GitHub Desktop.
This file contains 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
/** | |
* @detach action 'um_remove_unused_uploads' | |
*/ | |
function detach_um_remove_unused_uploads( $arg ){ | |
remove_action('um_after_user_upload','um_remove_unused_uploads', 10 ); | |
} | |
add_action('um_after_user_updated','detach_um_remove_unused_uploads',10,1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment