Created
August 7, 2017 07:38
-
-
Save cazuki/61d0ffc626650d007ef25455cbd26d2b to your computer and use it in GitHub Desktop.
imagemagickのライブラリ順序変更
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
function change_graphic_lib($array) { | |
return array('WP_Image_Editor_GD', 'WP_Image_Editor_Imagick'); | |
} | |
add_filter('wp_image_editors', 'change_graphic_lib'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment