Skip to content

Instantly share code, notes, and snippets.

@guilhermealveslopes
Last active October 28, 2016 01:36
Show Gist options
  • Save guilhermealveslopes/b8fb5ca077c686e87fd23824e1930a31 to your computer and use it in GitHub Desktop.
Save guilhermealveslopes/b8fb5ca077c686e87fd23824e1930a31 to your computer and use it in GitHub Desktop.
Remove HTTP Wordpress Upload
add_filter( 'wp_image_editors', 'change_graphic_lib' );
function change_graphic_lib($array) {
return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' );
}
/* Add on functions.php */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment