Skip to content

Instantly share code, notes, and snippets.

@plugin-republic
Created November 28, 2023 16:31
Show Gist options
  • Save plugin-republic/2be6160134ed13d0b78c5c8a1cca8884 to your computer and use it in GitHub Desktop.
Save plugin-republic/2be6160134ed13d0b78c5c8a1cca8884 to your computer and use it in GitHub Desktop.
<?php
/**
* Fix issue with Divi compatibility
*/
remove_filter( 'sanitize_file_name', 'pewc_rename_uploaded_file' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment