WP_SMUSH_API_TIMEOUT regardless of settings

Smush is displaying an error regardless of configuration.

As soon as the request times out you get this message:
'You can try setting a higher value for WP_SMUSH_API_TIMEOUT.

  • Nahid

    Hey Jared Fusedale !
    Hope you are having a great day!

    I'm really sorry about the matter that you're experiencing this issue. Can you try adding the following code in functions.php file of your theme/child theme (recommended) or use it as mu-plugin.

    add_filter('WP_SMUSH_API_TIMEOUT',  'wpmu_api_timeout');
    function wpmu_api_timeout() {
     return 300;

    Please let us know if this works for you. I'll be looking forward to hearing back from you. Thanks!

    Best Regards,