Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save plugin-republic/756a29247acfeebac034909bba91e6aa to your computer and use it in GitHub Desktop.
Save plugin-republic/756a29247acfeebac034909bba91e6aa to your computer and use it in GitHub Desktop.
<?php
/**
* Increase maximum uploaded thumbnail size
*/
function prefix_dropzone_max_thumbnail_size( $size ) {
return 1000;
}
add_filter( 'pewc_dropzone_max_thumbnail_size', 'prefix_dropzone_max_thumbnail_size' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment