• I was using this code in Snippets to get rid of the WP-Optimize and WP Rocket compatibility error working fine. I now have a multisite and am trying to use the same code and it isn’t working. It still works fine on my single wordpress site. Any idea what i need to adjust so this can work on the sites on my multisite? Thanks.

    function wpr_remove_wp_optimize_notice( $plugins ) {
    if ( array_key_exists( 'wp-optimize', $plugins ) ) {
    unset( $plugins['wp-optimize'] );
    }
    return $plugins;
    }
    add_filter( 'rocket_plugins_to_deactivate', 'wpr_remove_wp_optimize_notice', PHP_INT_MAX );
Viewing 1 replies (of 1 total)
  • Plugin Support Damilare

    (@deabiodun)

    Hi @gtosnipey!

    This looks like a question for WP Rocket.

    However, please note that using multiple optimization plugins with similar features on a site could lead to conflicts, and as such not recommended.

    Regards.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.