Last active
January 15, 2018 15:31
-
-
Save jbma/85748460c52b193cf0c8b286839a883d to your computer and use it in GitHub Desktop.
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
<?php | |
function __imagify_exclude($attachment_id){ | |
if (in_array(23, 34,439)){ | |
return false; | |
} | |
return true; | |
} | |
add_filter( 'imagify_auto_optimize_attachment', '__imagify_exclude' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment