Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/**
* @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