Smush doesn't work with WP Offload Media

I have some issues with smush pro integration with S3 offload. I have WP Offload Media installed and active. But the toggle for S3 offload integration is still disabled.

  • Adam Czajczyk
    • Support Gorilla

    Hello noonoon

    I hope you're well today and thank you for your question!

    I can see that the update is already tested but until it is released fixing that would require patching one of the plugin's core files. If you're comfortable with making such changes, you could do it by yourself:

    in /wp-content/plugins/wp-smush-pro/core/integrations/class-wp-smush-s3.php file on line 26 replace:

    $this->enabled = function_exists( 'as3cf_init' );


    $this->enabled = function_exists( 'as3cf_init' ) || function_exists( 'as3cf_pro_init' );

    Would you give it a try or would you rather want me to apply it for you?

    Best regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.