Bring Your Business to Life › Support › Image Store › How disable resize generate thumbs? › Reply To: How disable resize generate thumbs?
May 3, 2015 at 2:08 am #283981
Xpark Media
Keymaster
Here is another example, make sure you rename the function
function my_custom_function_name( ){
global $imstore,
remove_filter( 'wp_update_attachment_metadata', array($imstore, 'generate_image_metadata'));
remove_filter( 'wp_generate_attachment_metadata', array($imstore, 'generate_image_metadata'));
}
add_action( 'ims_admin_init', 'my_custom_function_name', 100 );